Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 189.1 kB / 498.1 MB, free: 5.734 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 223.2 MB / 0.7948 GB, free: 17.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008704/0.0008703, allocations: 98.84 kB / 0.9346 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.000353, allocations: 9.969 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2751, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2045/0.4797, allocations: 176.8 MB / 1.396 GB, free: 1.023 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/0.4801, allocations: 103.9 kB / 1.396 GB, free: 0.9219 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.07642/0.5566, allocations: 31.1 MB / 1.426 GB, free: 1.512 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5566, allocations: 3.938 kB / 1.426 GB, free: 1.508 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.987e-05/0.5567, allocations: 16 kB / 1.426 GB, free: 1.492 MB / 0.9167 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.00154/0.5582, allocations: 0.76 MB / 1.427 GB, free: 0.6836 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.5583, allocations: 8.031 kB / 1.427 GB, free: 0.6758 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001803/0.5585, allocations: 94.5 kB / 1.427 GB, free: 0.5742 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.5597, allocations: 179.1 kB / 1.427 GB, free: 408 kB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005846/0.5603, allocations: 362 kB / 1.427 GB, free: 4 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.5571/1.117, allocations: 26.23 kB / 1.428 GB, free: 184.9 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002296/1.118, allocations: 44.72 kB / 1.428 GB, free: 184.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/1.119, allocations: 0.8115 MB / 1.428 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/1.119, allocations: 10.5 kB / 1.428 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.672e-05/1.119, allocations: 17.88 kB / 1.428 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.829e-05/1.119, allocations: 50.3 kB / 1.428 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/1.12, allocations: 0.6521 MB / 1.429 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003929/1.124, allocations: 4.603 MB / 1.434 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/1.126, allocations: 0.5001 MB / 1.434 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/1.126, allocations: 7.016 kB / 1.434 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/1.126, allocations: 40.56 kB / 1.434 GB, free: 180.8 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=33): time 2.966e-06/1.126, allocations: 1.781 kB / 1.434 GB, free: 180.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34): time 0.001865/1.127, allocations: 0.8929 MB / 1.435 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/1.128, allocations: 83.17 kB / 1.435 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/1.128, allocations: 320.7 kB / 1.435 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/1.128, allocations: 35.33 kB / 1.435 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/1.128, allocations: 289.6 kB / 1.436 GB, free: 180.3 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.358e-05/1.128, allocations: 121.1 kB / 1.436 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/1.128, allocations: 10.09 kB / 1.436 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.996e-05/1.128, allocations: 349.2 kB / 1.436 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004958/1.129, allocations: 259.6 kB / 1.436 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000577/1.129, allocations: 482.7 kB / 1.437 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005803/1.13, allocations: 320.6 kB / 1.437 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/1.13, allocations: 5.438 kB / 1.437 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001465/1.131, allocations: 0.7821 MB / 1.438 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005675/1.132, allocations: 2.783 MB / 1.441 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/1.132, allocations: 7.641 kB / 1.441 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.774e-05/1.132, allocations: 11.31 kB / 1.441 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007708/1.133, allocations: 172.9 kB / 1.441 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.396e-05/1.133, allocations: 15.25 kB / 1.441 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/1.133, allocations: 68.45 kB / 1.441 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.507e-05/1.134, allocations: 29.09 kB / 1.441 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/1.134, allocations: 3.875 kB / 1.441 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001079/1.135, allocations: 0.6072 MB / 1.441 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/1.135, allocations: 11.2 kB / 1.442 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/1.135, allocations: 11.41 kB / 1.442 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005393/1.135, allocations: 150.6 kB / 1.442 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/1.135, allocations: 14.52 kB / 1.442 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/1.136, allocations: 62.09 kB / 1.442 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-05/1.136, allocations: 26.2 kB / 1.442 GB, free: 176.6 MB / 0.9167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000293/1.136, allocations: 282.9 kB / 1.442 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.54e-05/1.136, allocations: 45.09 kB / 1.442 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/1.137, allocations: 0.5927 MB / 1.443 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/1.137, allocations: 7.297 kB / 1.443 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.137, allocations: 1.375 kB / 1.443 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/1.137, allocations: 9.297 kB / 1.443 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/1.14, allocations: 1.629 MB / 1.444 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/1.14, allocations: 4.562 kB / 1.444 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/1.14, allocations: 116.4 kB / 1.444 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.919e-06/1.14, allocations: 10.91 kB / 1.444 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/1.141, allocations: 12.66 kB / 1.444 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/1.141, allocations: 10.38 kB / 1.444 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.141, allocations: 4.031 kB / 1.444 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/1.142, allocations: 0.9817 MB / 1.445 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/1.142, allocations: 168.2 kB / 1.446 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.183e-05/1.142, allocations: 11.53 kB / 1.446 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004293/1.142, allocations: 57.27 kB / 1.446 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.323e-05/1.142, allocations: 33.81 kB / 1.446 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/1.143, allocations: 11.22 kB / 1.446 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002881/1.143, allocations: 254.9 kB / 1.446 GB, free: 175 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.71e-07/1.143, allocations: 0 / 1.446 GB, free: 175 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009874/1.144, allocations: 206 kB / 1.446 GB, free: 175 MB / 0.9167 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 (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.001482/1.145, allocations: 2.572 MB / 1.449 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001713/1.147, allocations: 0.9239 MB / 1.449 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.147, allocations: 1.094 kB / 1.449 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005187/1.148, allocations: 281.8 kB / 1.45 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006122/1.148, allocations: 100.8 kB / 1.45 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005405/1.154, allocations: 7.682 MB / 1.457 GB, free: 166.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/1.154, allocations: 0.8836 MB / 1.458 GB, free: 166.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007534/1.155, allocations: 204.8 kB / 1.458 GB, free: 166.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/1.155, allocations: 143.7 kB / 1.459 GB, free: 166.1 MB / 0.9167 GB Notification: Performance of SimCode: time 1.032e-06/1.155, allocations: 0 / 1.459 GB, free: 166.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/1.182, allocations: 9.345 MB / 1.468 GB, free: 165.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/1.182, allocations: 185 kB / 1.468 GB, free: 165.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.099/3.281, allocations: 3.5 kB / 1.468 GB, free: 165.4 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat does not exist to compare? outputFormat=mat