Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.948/1.948, allocations: 292.6 MB / 307.5 MB, free: 5.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 177 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.839/1.839, allocations: 205.4 MB / 0.6366 GB, free: 8.617 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008433/0.0008431, allocations: 90.03 kB / 0.7509 GB, free: 63.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003883, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2869, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8722/1.159, allocations: 163.3 MB / 1.148 GB, free: 16.49 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003527/1.16, allocations: 97.3 kB / 1.148 GB, free: 16.41 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.2217/1.381, allocations: 86.75 MB / 1.233 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.549e-06/1.381, allocations: 3.938 kB / 1.233 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002307/1.382, allocations: 47.98 kB / 1.233 GB, free: 11.55 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.005648/1.387, allocations: 1.665 MB / 1.234 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/1.387, allocations: 20.02 kB / 1.234 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009039/1.388, allocations: 215.2 kB / 1.235 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00529/1.394, allocations: 0.6242 MB / 1.235 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002816/1.396, allocations: 0.8829 MB / 1.236 GB, free: 8.035 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/1.397, allocations: 98.52 kB / 1.236 GB, free: 7.938 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005177/1.397, allocations: 123.3 kB / 1.236 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004751/1.402, allocations: 2.338 MB / 1.239 GB, free: 5.18 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.009e-05/1.402, allocations: 11.94 kB / 1.239 GB, free: 5.168 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002561/1.402, allocations: 63.97 kB / 1.239 GB, free: 5.105 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002104/1.402, allocations: 142.3 kB / 1.239 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003627/1.406, allocations: 1.859 MB / 1.241 GB, free: 3.098 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01805/1.424, allocations: 12.51 MB / 1.253 GB, free: 5.645 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004226/1.429, allocations: 1.861 MB / 1.255 GB, free: 3.777 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001985/1.429, allocations: 110.1 kB / 1.255 GB, free: 3.652 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/1.429, allocations: 39.56 kB / 1.255 GB, free: 3.605 MB / 0.823 GB Notification: Performance of pre-optimization done (n=103): time 3.617e-06/1.429, allocations: 0 / 1.255 GB, free: 3.605 MB / 0.823 GB Notification: Performance of matching and sorting (n=110): time 0.008392/1.437, allocations: 3.702 MB / 1.258 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.998e-05/1.437, allocations: 64.41 kB / 1.258 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/1.439, allocations: 0.7938 MB / 1.259 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.418e-05/1.439, allocations: 45.7 kB / 1.259 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007476/1.44, allocations: 0.7083 MB / 1.26 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005082/1.44, allocations: 386.5 kB / 1.26 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/1.441, allocations: 28 kB / 1.26 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002311/1.441, allocations: 365.9 kB / 1.261 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/1.442, allocations: 0.5973 MB / 1.261 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/1.443, allocations: 1.044 MB / 1.262 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/1.445, allocations: 0.7525 MB / 1.263 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-05/1.445, allocations: 4 kB / 1.263 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004237/1.449, allocations: 2.037 MB / 1.265 GB, free: 8.656 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/1.449, allocations: 14.03 kB / 1.265 GB, free: 8.645 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.528e-05/1.449, allocations: 16 kB / 1.265 GB, free: 8.629 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009466/1.45, allocations: 255 kB / 1.265 GB, free: 8.355 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/1.452, allocations: 359.4 kB / 1.266 GB, free: 8.004 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009407/1.461, allocations: 10.81 MB / 1.276 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/1.463, allocations: 127.9 kB / 1.276 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003097/1.463, allocations: 71.92 kB / 1.276 GB, free: 11.94 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (179): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001158/1.464, allocations: 405 kB / 1.277 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004357/1.465, allocations: 134.5 kB / 1.277 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003392/1.468, allocations: 1.673 MB / 1.279 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/1.468, allocations: 15.94 kB / 1.279 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.2e-05/1.468, allocations: 0 / 1.279 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/1.468, allocations: 11.97 kB / 1.279 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007053/1.475, allocations: 3.284 MB / 1.282 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/1.475, allocations: 8 kB / 1.282 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009135/1.476, allocations: 227.7 kB / 1.282 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007991/1.477, allocations: 246.6 kB / 1.282 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.35e-05/1.477, allocations: 24 kB / 1.282 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/1.487, allocations: 10.81 MB / 1.293 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/1.487, allocations: 8 kB / 1.293 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00414/1.492, allocations: 2.062 MB / 1.295 GB, free: 7.547 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/1.493, allocations: 331.3 kB / 1.295 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004568/1.493, allocations: 31.95 kB / 1.295 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.494, allocations: 87.88 kB / 1.295 GB, free: 7.086 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002504/1.495, allocations: 88.78 kB / 1.295 GB, free: 7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/1.495, allocations: 40 kB / 1.295 GB, free: 6.961 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001111/1.496, allocations: 0.6177 MB / 1.296 GB, free: 6.336 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.71e-07/1.496, allocations: 0 / 1.296 GB, free: 6.336 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002144/1.498, allocations: 400 kB / 1.296 GB, free: 5.945 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004942/1.503, allocations: 4.156 MB / 1.3 GB, free: 1.59 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004132/1.507, allocations: 2.462 MB / 1.303 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/1.507, allocations: 4.062 kB / 1.303 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002441/1.51, allocations: 1.621 MB / 1.304 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/1.512, allocations: 316.4 kB / 1.305 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0208/1.532, allocations: 17.81 MB / 1.322 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/1.534, allocations: 1.368 MB / 1.323 GB, free: 9.121 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001323/1.535, allocations: 347 kB / 1.324 GB, free: 8.777 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009184/1.536, allocations: 0.5305 MB / 1.324 GB, free: 8.246 MB / 0.9011 GB Notification: Performance of SimCode: time 1.383e-06/1.536, allocations: 0 / 1.324 GB, free: 8.246 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06277/1.599, allocations: 26.8 MB / 1.351 GB, free: 13.74 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/1.599, allocations: 213.2 kB / 1.351 GB, free: 13.51 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.305/4.904, allocations: 7.938 kB / 1.351 GB, free: 13.5 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)