Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008051/0.0008052, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008941/0.0008945, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.665/2.665, allocations: 409.4 MB / 0.684 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003998, allocations: 8 kB / 0.8378 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8316/0.8321, allocations: 146.8 MB / 0.9811 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.005215/0.8373, allocations: 3.817 MB / 0.9849 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004136/0.8415, allocations: 2.491 MB / 0.9873 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000308/0.8419, allocations: 7.844 kB / 0.9873 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.8422, allocations: 67.42 kB / 0.9874 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0008969/0.8431, allocations: 314.6 kB / 0.9877 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.8442, allocations: 410.3 kB / 0.9881 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0009364/0.8452, allocations: 0.8178 MB / 0.9889 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008564/0.8461, allocations: 483.4 kB / 0.9893 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003647/0.8464, allocations: 227.1 kB / 0.9895 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006195/0.8471, allocations: 330.9 kB / 0.9899 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.85e-05/0.8471, allocations: 16 kB / 0.9899 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003991/0.8475, allocations: 147.8 kB / 0.99 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.8477, allocations: 175.5 kB / 0.9902 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.8479, allocations: 113.5 kB / 0.9903 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0005807/0.8485, allocations: 0.536 MB / 0.9908 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8485, allocations: 0 / 0.9908 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8485, allocations: 0 / 0.9908 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.8485, allocations: 3.938 kB / 0.9908 GB, free: 12.33 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001454/0.85, allocations: 0.756 MB / 0.9916 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.85, allocations: 8.031 kB / 0.9916 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002193/0.8502, allocations: 90.5 kB / 0.9916 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007984/0.851, allocations: 147.2 kB / 0.9918 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.8515, allocations: 357.9 kB / 0.9921 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.8516, allocations: 32.98 kB / 0.9922 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.191e-05/0.8517, allocations: 47.94 kB / 0.9922 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.853, allocations: 0.8439 MB / 0.993 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.853, allocations: 3.938 kB / 0.993 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/0.8531, allocations: 20 kB / 0.9931 GB, free: 9.844 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.133e-05/0.8532, allocations: 68.95 kB / 0.9931 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.8544, allocations: 0.6983 MB / 0.9938 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004223/0.8587, allocations: 4.496 MB / 0.9982 GB, free: 4.234 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.8599, allocations: 0.6182 MB / 0.9988 GB, free: 3.598 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005607/0.8605, allocations: 317.5 kB / 0.9991 GB, free: 3.281 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/0.8605, allocations: 11.98 kB / 0.9991 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.8606, allocations: 34.56 kB / 0.9991 GB, free: 3.227 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=38): time 2.074e-06/0.8606, allocations: 0 / 0.9991 GB, free: 3.227 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39): time 0.002083/0.8627, allocations: 0.9995 MB / 1 GB, free: 2.219 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.493e-05/0.8628, allocations: 81.11 kB / 1 GB, free: 2.121 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003844/0.8631, allocations: 353.5 kB / 1.001 GB, free: 1.766 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.8632, allocations: 33.7 kB / 1.001 GB, free: 1.727 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.8634, allocations: 283.8 kB / 1.001 GB, free: 1.441 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.8635, allocations: 134.1 kB / 1.001 GB, free: 1.309 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.8636, allocations: 8 kB / 1.001 GB, free: 1.301 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.8638, allocations: 350.8 kB / 1.001 GB, free: 0.9492 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005223/0.8643, allocations: 280.9 kB / 1.002 GB, free: 0.6758 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006633/0.865, allocations: 488 kB / 1.002 GB, free: 104 kB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006116/0.8656, allocations: 351.5 kB / 1.002 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8656, allocations: 3.938 kB / 1.002 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001419/0.867, allocations: 0.8242 MB / 1.003 GB, free: 14.92 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002119/0.8672, allocations: 282.4 kB / 1.003 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.8673, allocations: 8 kB / 1.003 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/0.8673, allocations: 12 kB / 1.003 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007058/0.868, allocations: 183.7 kB / 1.004 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.868, allocations: 8 kB / 1.004 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004488/0.8685, allocations: 83.7 kB / 1.004 GB, free: 14.26 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.136e-05/0.8686, allocations: 31.98 kB / 1.004 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 8.206e-06/0.8686, allocations: 9.5 kB / 1.004 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001193/0.8698, allocations: 0.6439 MB / 1.004 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.8698, allocations: 12.12 kB / 1.004 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.8698, allocations: 15.98 kB / 1.004 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/0.8704, allocations: 163.7 kB / 1.005 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.8704, allocations: 8 kB / 1.005 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.8708, allocations: 71.7 kB / 1.005 GB, free: 13.31 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.8708, allocations: 27.98 kB / 1.005 GB, free: 13.29 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (68): * Single equations (assignments): 68 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000345/0.8712, allocations: 284.8 kB / 1.005 GB, free: 13 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.677e-05/0.8713, allocations: 43.53 kB / 1.005 GB, free: 12.95 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.8726, allocations: 0.6808 MB / 1.006 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.8726, allocations: 7.953 kB / 1.006 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.8726, allocations: 0 / 1.006 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.8726, allocations: 7.984 kB / 1.006 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/0.875, allocations: 1.474 MB / 1.007 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.875, allocations: 224 / 1.007 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006653/0.8757, allocations: 159.7 kB / 1.007 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.8757, allocations: 4 kB / 1.007 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.8758, allocations: 8 kB / 1.007 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.8758, allocations: 4 kB / 1.007 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.8758, allocations: 4 kB / 1.007 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.877, allocations: 0.8305 MB / 1.008 GB, free: 9.66 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002222/0.8773, allocations: 180.3 kB / 1.008 GB, free: 9.465 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.251e-05/0.8773, allocations: 11.94 kB / 1.008 GB, free: 9.453 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/0.8777, allocations: 59.92 kB / 1.008 GB, free: 9.395 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.191e-05/0.8778, allocations: 35.95 kB / 1.008 GB, free: 9.359 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.8779, allocations: 12 kB / 1.008 GB, free: 9.348 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002754/0.8781, allocations: 247.2 kB / 1.009 GB, free: 9.109 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8782, allocations: 4 kB / 1.009 GB, free: 9.105 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008234/0.879, allocations: 192 kB / 1.009 GB, free: 8.918 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (42): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001551/0.8805, allocations: 1.387 MB / 1.01 GB, free: 7.484 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001836/0.8824, allocations: 0.9902 MB / 1.011 GB, free: 6.496 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.8824, allocations: 4 kB / 1.011 GB, free: 6.492 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006062/0.883, allocations: 316.2 kB / 1.011 GB, free: 6.184 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007519/0.8838, allocations: 121.7 kB / 1.012 GB, free: 6.07 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005266/0.8891, allocations: 3.116 MB / 1.015 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/0.8896, allocations: 0.8796 MB / 1.015 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000702/0.8903, allocations: 204.1 kB / 1.016 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.8906, allocations: 159.4 kB / 1.016 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of SimCode: time 1.332e-06/0.8906, allocations: 0 / 1.016 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/0.9185, allocations: 9.898 MB / 1.025 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003043/0.9189, allocations: 218.2 kB / 1.026 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/2.923, allocations: 5.109 kB / 1.026 GB, free: 7.645 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads_res.mat does not exist to compare? outputFormat=mat