Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 114.7 kB / 16.42 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 190 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002095/0.002095, allocations: 282.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9654/0.9654, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 91.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4151, allocations: 86.98 MB / 0.7671 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005558/0.4207, allocations: 4.189 MB / 0.7712 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003944/0.4246, allocations: 2.645 MB / 0.7737 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.4248, allocations: 15.94 kB / 0.7737 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.4259, allocations: 376.3 kB / 0.7741 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008871/0.4268, allocations: 390.2 kB / 0.7745 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.4281, allocations: 0.5095 MB / 0.775 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009014/0.429, allocations: 0.6931 MB / 0.7757 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006412/0.4297, allocations: 354.5 kB / 0.776 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004554/0.4302, allocations: 267 kB / 0.7762 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006402/0.4308, allocations: 338.8 kB / 0.7766 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.4309, allocations: 40 kB / 0.7766 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005764/0.4315, allocations: 307.4 kB / 0.7769 GB, free: 9.656 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002218/0.4317, allocations: 199.4 kB / 0.7771 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003074/0.4321, allocations: 250.7 kB / 0.7773 GB, free: 9.215 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009079/0.433, allocations: 0.7189 MB / 0.778 GB, free: 8.496 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.433, allocations: 0 / 0.778 GB, free: 8.496 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.432e-06/0.433, allocations: 0 / 0.778 GB, free: 8.496 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.245e-05/0.433, allocations: 0 / 0.778 GB, free: 8.496 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.00158/0.4346, allocations: 0.8107 MB / 0.7788 GB, free: 7.637 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.4347, allocations: 11.97 kB / 0.7788 GB, free: 7.625 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009701/0.4356, allocations: 152.1 kB / 0.779 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005994/0.4363, allocations: 379.1 kB / 0.7793 GB, free: 7.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.4363, allocations: 29.36 kB / 0.7794 GB, free: 7.043 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.768e-05/0.4364, allocations: 36.38 kB / 0.7794 GB, free: 7.008 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.4377, allocations: 0.8254 MB / 0.7802 GB, free: 6.086 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.4377, allocations: 7.938 kB / 0.7802 GB, free: 6.078 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.396e-05/0.4378, allocations: 23.98 kB / 0.7802 GB, free: 6.055 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.948e-05/0.4379, allocations: 60.61 kB / 0.7803 GB, free: 5.996 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.4391, allocations: 0.6307 MB / 0.7809 GB, free: 5.363 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004311/0.4435, allocations: 4.631 MB / 0.7854 GB, free: 392 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.4445, allocations: 493 kB / 0.7859 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005088/0.445, allocations: 273.5 kB / 0.7862 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.4451, allocations: 11.97 kB / 0.7862 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.4451, allocations: 34.56 kB / 0.7862 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 3.576e-06/0.4451, allocations: 4 kB / 0.7862 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.001882/0.447, allocations: 0.8705 MB / 0.7871 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.447, allocations: 85.09 kB / 0.7871 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.4474, allocations: 361.7 kB / 0.7875 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.4475, allocations: 33.7 kB / 0.7875 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.4477, allocations: 287 kB / 0.7878 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.967e-05/0.4478, allocations: 122.3 kB / 0.7879 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.448, allocations: 114 kB / 0.788 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.4481, allocations: 350.7 kB / 0.7884 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004832/0.4486, allocations: 258.9 kB / 0.7886 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006234/0.4492, allocations: 478.6 kB / 0.7891 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.4504, allocations: 0.7449 MB / 0.7898 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.4504, allocations: 4 kB / 0.7898 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001424/0.4519, allocations: 0.7564 MB / 0.7905 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4519, allocations: 11.98 kB / 0.7905 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.4519, allocations: 12.06 kB / 0.7906 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.368e-05/0.452, allocations: 12 kB / 0.7906 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006748/0.4526, allocations: 159.8 kB / 0.7907 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.079e-05/0.4527, allocations: 15.92 kB / 0.7907 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.4531, allocations: 63.78 kB / 0.7908 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/0.4532, allocations: 27.98 kB / 0.7908 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005498/0.4538, allocations: 347.5 kB / 0.7912 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005741/0.4543, allocations: 434 kB / 0.7916 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001022/0.4554, allocations: 0.6793 MB / 0.7922 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.753e-06/0.4554, allocations: 0 / 0.7922 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.00124/0.4566, allocations: 0.6609 MB / 0.7929 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.4567, allocations: 8 kB / 0.7929 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.4567, allocations: 11.94 kB / 0.7929 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.4567, allocations: 12 kB / 0.7929 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005444/0.4573, allocations: 144.4 kB / 0.793 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/0.4573, allocations: 19.94 kB / 0.7931 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004134/0.4577, allocations: 55.8 kB / 0.7931 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.4578, allocations: 28 kB / 0.7931 GB, free: 7.945 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001864/0.458, allocations: 217 kB / 0.7934 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.4581, allocations: 47.52 kB / 0.7934 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.4592, allocations: 0.5717 MB / 0.794 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.4592, allocations: 0 / 0.794 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.4592, allocations: 4 kB / 0.794 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/0.4594, allocations: 164.5 kB / 0.7941 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-05/0.4595, allocations: 7.984 kB / 0.7941 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005711/0.4601, allocations: 79.81 kB / 0.7942 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.968e-05/0.4602, allocations: 23.91 kB / 0.7942 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001291/0.4615, allocations: 0.695 MB / 0.7949 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001087/0.4626, allocations: 0.7718 MB / 0.7957 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000423/0.463, allocations: 240.3 kB / 0.7959 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002519/0.4633, allocations: 255.2 kB / 0.7961 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of Backend: time 9.82e-07/0.4633, allocations: 0 / 0.7961 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002055/0.4654, allocations: 0.9224 MB / 0.797 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0017/0.4671, allocations: 1.253 MB / 0.7983 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of Templates: time 0.01593/0.483, allocations: 9.655 MB / 0.8077 GB, free: 9.012 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)