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.001304/0.001304, allocations: 109.7 kB / 16.41 MB, free: 6.512 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.001339/0.001339, allocations: 188 kB / 17.34 MB, free: 5.738 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002538/0.002538, allocations: 281 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.057/1.057, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002817, allocations: 99.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/0.4614, allocations: 86.98 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.006692/0.4681, allocations: 4.208 MB / 0.7712 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006449/0.4746, allocations: 2.649 MB / 0.7738 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003477/0.4749, allocations: 11.94 kB / 0.7738 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.4764, allocations: 370.3 kB / 0.7741 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.4776, allocations: 394.2 kB / 0.7745 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.4794, allocations: 0.5114 MB / 0.775 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001248/0.4806, allocations: 0.697 MB / 0.7757 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006456/0.4813, allocations: 278.7 kB / 0.7759 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005559/0.4818, allocations: 275 kB / 0.7762 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000782/0.4826, allocations: 334.8 kB / 0.7765 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.973e-05/0.4827, allocations: 36 kB / 0.7766 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007472/0.4835, allocations: 315.3 kB / 0.7769 GB, free: 9.875 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000305/0.4838, allocations: 195.4 kB / 0.777 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004176/0.4842, allocations: 250.7 kB / 0.7773 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.4855, allocations: 0.7255 MB / 0.778 GB, free: 8.715 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4855, allocations: 4 kB / 0.778 GB, free: 8.711 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4855, allocations: 0 / 0.778 GB, free: 8.711 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.448e-05/0.4855, allocations: 4 kB / 0.778 GB, free: 8.707 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.002031/0.4876, allocations: 0.8215 MB / 0.7788 GB, free: 7.836 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.4876, allocations: 8.031 kB / 0.7788 GB, free: 7.828 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.4892, allocations: 152.4 kB / 0.779 GB, free: 7.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008095/0.49, allocations: 375.3 kB / 0.7793 GB, free: 7.277 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.49, allocations: 33.36 kB / 0.7793 GB, free: 7.246 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.4902, allocations: 40.33 kB / 0.7794 GB, free: 7.207 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/0.4923, allocations: 0.8254 MB / 0.7802 GB, free: 6.285 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.409e-05/0.4923, allocations: 7.938 kB / 0.7802 GB, free: 6.277 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-05/0.4924, allocations: 23.97 kB / 0.7802 GB, free: 6.254 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001603/0.4926, allocations: 64.61 kB / 0.7803 GB, free: 6.191 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.4947, allocations: 0.6385 MB / 0.7809 GB, free: 5.551 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008025/0.5027, allocations: 4.62 MB / 0.7854 GB, free: 0.582 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.5045, allocations: 469 kB / 0.7859 GB, free: 108 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000957/0.5055, allocations: 249.6 kB / 0.7861 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.082e-05/0.5055, allocations: 11.98 kB / 0.7861 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.784e-05/0.5056, allocations: 38.56 kB / 0.7862 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 3.527e-06/0.5056, allocations: 3.938 kB / 0.7862 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.003508/0.5091, allocations: 0.8797 MB / 0.787 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.826e-05/0.5092, allocations: 81.11 kB / 0.7871 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007541/0.51, allocations: 365.6 kB / 0.7874 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.453e-05/0.5101, allocations: 33.7 kB / 0.7875 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/0.5104, allocations: 295.8 kB / 0.7878 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.5106, allocations: 130.9 kB / 0.7879 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003186/0.5109, allocations: 114.2 kB / 0.788 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002993/0.5112, allocations: 350.7 kB / 0.7883 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009333/0.5122, allocations: 258.9 kB / 0.7886 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.5134, allocations: 482.5 kB / 0.789 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002174/0.5156, allocations: 0.741 MB / 0.7898 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/0.5156, allocations: 4 kB / 0.7898 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002623/0.5182, allocations: 0.7681 MB / 0.7905 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.5182, allocations: 8 kB / 0.7905 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.5183, allocations: 8 kB / 0.7905 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-05/0.5183, allocations: 8 kB / 0.7905 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.5196, allocations: 159.7 kB / 0.7907 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.017e-05/0.5197, allocations: 15.94 kB / 0.7907 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009024/0.5206, allocations: 68.06 kB / 0.7908 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.5207, allocations: 28 kB / 0.7908 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001086/0.5218, allocations: 353 kB / 0.7911 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001049/0.5228, allocations: 442 kB / 0.7915 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001905/0.5247, allocations: 0.6637 MB / 0.7922 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.814e-06/0.5247, allocations: 4 kB / 0.7922 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.002301/0.527, allocations: 0.6577 MB / 0.7928 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.5271, allocations: 11.98 kB / 0.7929 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.5271, allocations: 12.12 kB / 0.7929 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.5271, allocations: 12 kB / 0.7929 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.5281, allocations: 139.8 kB / 0.793 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.283e-05/0.5282, allocations: 19.92 kB / 0.793 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007654/0.5289, allocations: 51.81 kB / 0.7931 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.808e-05/0.529, allocations: 27.98 kB / 0.7931 GB, free: 8.164 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.0003032/0.5293, allocations: 225 kB / 0.7933 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.5295, allocations: 43.77 kB / 0.7934 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/0.5316, allocations: 0.5716 MB / 0.7939 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.5316, allocations: 4 kB / 0.7939 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.5316, allocations: 7.938 kB / 0.7939 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/0.5316, allocations: 3.984 kB / 0.7939 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004968/0.5366, allocations: 1.598 MB / 0.7955 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.5366, allocations: 4 kB / 0.7955 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.5378, allocations: 115.8 kB / 0.7956 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/0.5378, allocations: 4.469 kB / 0.7956 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.864e-05/0.5379, allocations: 12 kB / 0.7956 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.347e-05/0.5379, allocations: 11.94 kB / 0.7956 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.5379, allocations: 4 kB / 0.7956 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/0.5401, allocations: 0.789 MB / 0.7964 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000388/0.5405, allocations: 168.7 kB / 0.7966 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.5406, allocations: 19.98 kB / 0.7966 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008073/0.5414, allocations: 43.94 kB / 0.7966 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.5416, allocations: 39.84 kB / 0.7967 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.372e-05/0.5416, allocations: 12 kB / 0.7967 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005035/0.5421, allocations: 255.2 kB / 0.7969 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5421, allocations: 0 / 0.7969 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00163/0.5438, allocations: 188 kB / 0.7971 GB, free: 3.879 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (35): * Single equations (assignments): 35 * 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 Backend phase and start with SimCode phase: time 0.0002415/0.544, allocations: 127 kB / 0.7972 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003258/0.5473, allocations: 0.8497 MB / 0.7981 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5473, allocations: 0.5 kB / 0.7981 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.5483, allocations: 266 kB / 0.7983 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.5499, allocations: 125.3 kB / 0.7984 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.5529, allocations: 1.002 MB / 0.7994 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008994/0.5538, allocations: 0.8709 MB / 0.8003 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001053/0.5549, allocations: 203.9 kB / 0.8005 GB, free: 360 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/0.5552, allocations: 39.42 kB / 0.8005 GB, free: 320 kB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.5552, allocations: 0 / 0.8005 GB, free: 320 kB / 0.5606 GB Notification: Performance of Templates: time 0.02128/0.5765, allocations: 6.248 MB / 0.8066 GB, free: 10.12 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)