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.001588/0.001588, allocations: 111 kB / 16.42 MB, free: 6.461 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.001838/0.001838, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002145/0.002145, allocations: 295.9 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.9569/0.9569, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002059/0.00206, allocations: 99.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.479/0.481, allocations: 86.96 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.006523/0.4876, allocations: 4.208 MB / 0.7712 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004328/0.492, allocations: 2.645 MB / 0.7737 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.4922, allocations: 7.938 kB / 0.7737 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.4934, allocations: 380.3 kB / 0.7741 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007385/0.4941, allocations: 390.2 kB / 0.7745 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.4953, allocations: 0.5096 MB / 0.775 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007686/0.4961, allocations: 0.6931 MB / 0.7757 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004935/0.4966, allocations: 346.5 kB / 0.776 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003215/0.4969, allocations: 271 kB / 0.7762 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000506/0.4974, allocations: 330.8 kB / 0.7766 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.043e-05/0.4975, allocations: 40 kB / 0.7766 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004863/0.498, allocations: 315.3 kB / 0.7769 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.4982, allocations: 195.4 kB / 0.7771 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002724/0.4985, allocations: 246.7 kB / 0.7773 GB, free: 9.367 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007759/0.4992, allocations: 0.7228 MB / 0.778 GB, free: 8.645 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4993, allocations: 4 kB / 0.778 GB, free: 8.641 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4993, allocations: 0 / 0.778 GB, free: 8.641 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.4993, allocations: 0 / 0.778 GB, free: 8.641 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.001328/0.5006, allocations: 0.8029 MB / 0.7788 GB, free: 7.789 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.5007, allocations: 12.03 kB / 0.7788 GB, free: 7.777 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008931/0.5016, allocations: 148.1 kB / 0.779 GB, free: 7.633 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004581/0.502, allocations: 371.1 kB / 0.7793 GB, free: 7.234 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.5021, allocations: 37.3 kB / 0.7794 GB, free: 7.199 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.918e-05/0.5022, allocations: 44.36 kB / 0.7794 GB, free: 7.156 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.5034, allocations: 0.8215 MB / 0.7802 GB, free: 6.238 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.5034, allocations: 7.938 kB / 0.7802 GB, free: 6.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-05/0.5035, allocations: 20 kB / 0.7802 GB, free: 6.211 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.704e-05/0.5035, allocations: 64.61 kB / 0.7803 GB, free: 6.148 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.5048, allocations: 0.6385 MB / 0.7809 GB, free: 5.508 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003947/0.5087, allocations: 4.615 MB / 0.7854 GB, free: 0.543 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.5098, allocations: 497 kB / 0.7859 GB, free: 40 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004908/0.5103, allocations: 277.6 kB / 0.7862 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.5103, allocations: 11.89 kB / 0.7862 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.5103, allocations: 34.56 kB / 0.7862 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.024e-06/0.5104, allocations: 0 / 0.7862 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.001753/0.5121, allocations: 0.8746 MB / 0.7871 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.5122, allocations: 81.11 kB / 0.7871 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003357/0.5125, allocations: 361.5 kB / 0.7875 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.5126, allocations: 29.7 kB / 0.7875 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.5127, allocations: 291 kB / 0.7878 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.098e-05/0.5128, allocations: 126.2 kB / 0.7879 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.513, allocations: 114 kB / 0.788 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5132, allocations: 358.7 kB / 0.7884 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/0.5136, allocations: 254.9 kB / 0.7886 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006025/0.5142, allocations: 478.5 kB / 0.7891 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.5153, allocations: 0.741 MB / 0.7898 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5154, allocations: 0 / 0.7898 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001311/0.5167, allocations: 0.7716 MB / 0.7905 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.5167, allocations: 8 kB / 0.7905 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.5167, allocations: 4 kB / 0.7905 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.5167, allocations: 12 kB / 0.7906 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/0.5174, allocations: 159.7 kB / 0.7907 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/0.5175, allocations: 16.44 kB / 0.7907 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.5179, allocations: 63.78 kB / 0.7908 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/0.518, allocations: 31.98 kB / 0.7908 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005228/0.5185, allocations: 343.5 kB / 0.7911 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004959/0.519, allocations: 438 kB / 0.7916 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009022/0.5199, allocations: 0.679 MB / 0.7922 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.036e-06/0.5199, allocations: 0 / 0.7922 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0011/0.521, allocations: 0.6636 MB / 0.7929 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.5211, allocations: 12 kB / 0.7929 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.5211, allocations: 8 kB / 0.7929 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.5211, allocations: 11.98 kB / 0.7929 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/0.5216, allocations: 139.8 kB / 0.793 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.5216, allocations: 19.92 kB / 0.7931 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.522, allocations: 47.81 kB / 0.7931 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.395e-05/0.5221, allocations: 31.98 kB / 0.7931 GB, free: 8.102 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.0001664/0.5222, allocations: 221.1 kB / 0.7933 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.048e-05/0.5223, allocations: 43.47 kB / 0.7934 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.5234, allocations: 0.5717 MB / 0.7939 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.5234, allocations: 0 / 0.7939 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.5234, allocations: 0 / 0.7939 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.5236, allocations: 164.5 kB / 0.7941 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.404e-05/0.5237, allocations: 12 kB / 0.7941 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005452/0.5242, allocations: 79.8 kB / 0.7942 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.5243, allocations: 20.06 kB / 0.7942 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001264/0.5256, allocations: 0.7028 MB / 0.7949 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001026/0.5266, allocations: 0.7679 MB / 0.7956 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004133/0.5271, allocations: 240.3 kB / 0.7959 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002614/0.5273, allocations: 259.1 kB / 0.7961 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of Backend: time 4.81e-07/0.5273, allocations: 0 / 0.7961 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002/0.5293, allocations: 0.924 MB / 0.797 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001554/0.5309, allocations: 1.25 MB / 0.7982 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of Templates: time 0.01483/0.5458, allocations: 9.655 MB / 0.8077 GB, free: 9.168 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)