Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.324/2.324, allocations: 393.5 MB / 408.4 MB, free: 11.1 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.001088/0.001087, allocations: 175.9 kB / 0.4901 GB, free: 2.242 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.759/1.759, allocations: 223.1 MB / 0.7992 GB, free: 15.73 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.0009161/0.0009161, allocations: 84.33 kB / 0.9396 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.00038, allocations: 9.656 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2918, allocations: 143 MB / 1.229 GB, free: 85.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2135/0.5054, allocations: 166.3 MB / 1.392 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.5057, allocations: 91.94 kB / 1.392 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.6899/1.196, allocations: 14.79 MB / 1.406 GB, free: 169.4 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.857e-06/1.196, allocations: 0 / 1.406 GB, free: 169.4 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.906e-05/1.196, allocations: 6.406 kB / 1.406 GB, free: 169.4 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001074/1.197, allocations: 499.1 kB / 1.407 GB, free: 169 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/1.197, allocations: 10.09 kB / 1.407 GB, free: 169 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.152e-05/1.197, allocations: 51.25 kB / 1.407 GB, free: 169 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007262/1.198, allocations: 80.62 kB / 1.407 GB, free: 169 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/1.198, allocations: 244.4 kB / 1.407 GB, free: 168.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/1.198, allocations: 11.66 kB / 1.407 GB, free: 168.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/1.198, allocations: 10.02 kB / 1.407 GB, free: 168.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007161/1.199, allocations: 303.5 kB / 1.407 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/1.199, allocations: 5.156 kB / 1.407 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/1.199, allocations: 8.094 kB / 1.407 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-05/1.199, allocations: 23.27 kB / 1.407 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006394/1.2, allocations: 265 kB / 1.408 GB, free: 168.7 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/1.201, allocations: 1.506 MB / 1.409 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/1.202, allocations: 265.1 kB / 1.409 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/1.202, allocations: 5.672 kB / 1.409 GB, free: 167.5 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/1.202, allocations: 40.17 kB / 1.409 GB, free: 167.4 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=15): time 2.615e-06/1.202, allocations: 0 / 1.409 GB, free: 167.4 MB / 0.9011 GB Notification: Performance of matching and sorting (n=15): time 0.0008193/1.203, allocations: 359.7 kB / 1.41 GB, free: 167.4 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/1.203, allocations: 86.75 kB / 1.41 GB, free: 167.3 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/1.203, allocations: 158.7 kB / 1.41 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/1.203, allocations: 29.64 kB / 1.41 GB, free: 167.2 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/1.203, allocations: 145.6 kB / 1.41 GB, free: 167.1 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/1.203, allocations: 55.08 kB / 1.41 GB, free: 167 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/1.203, allocations: 5.375 kB / 1.41 GB, free: 167 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.169e-05/1.203, allocations: 323.3 kB / 1.411 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/1.204, allocations: 114 kB / 1.411 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/1.204, allocations: 173.1 kB / 1.411 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/1.204, allocations: 123.6 kB / 1.411 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.204, allocations: 0.9062 kB / 1.411 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005481/1.205, allocations: 315.2 kB / 1.411 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001373/1.205, allocations: 0.7074 MB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/1.205, allocations: 2.656 kB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/1.205, allocations: 3.188 kB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/1.205, allocations: 56.77 kB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/1.205, allocations: 6.891 kB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/1.205, allocations: 34.11 kB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/1.205, allocations: 8.328 kB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/1.205, allocations: 7.344 kB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004611/1.206, allocations: 241.7 kB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-06/1.206, allocations: 1.531 kB / 1.412 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.121e-06/1.206, allocations: 7.781 kB / 1.412 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/1.206, allocations: 56.97 kB / 1.412 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/1.206, allocations: 6.578 kB / 1.412 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/1.206, allocations: 30.75 kB / 1.412 GB, free: 165.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/1.206, allocations: 9.953 kB / 1.412 GB, free: 165.8 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (23): * Single equations (assignments): 23 * 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.0001476/1.207, allocations: 222.4 kB / 1.413 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/1.207, allocations: 20.06 kB / 1.413 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005744/1.207, allocations: 277.4 kB / 1.413 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/1.207, allocations: 2.344 kB / 1.413 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.207, allocations: 0.9688 kB / 1.413 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/1.207, allocations: 5.453 kB / 1.413 GB, free: 165.6 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/1.208, allocations: 0.6916 MB / 1.414 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.208, allocations: 1.344 kB / 1.414 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/1.209, allocations: 48.25 kB / 1.414 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/1.209, allocations: 2.016 kB / 1.414 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/1.209, allocations: 13.05 kB / 1.414 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.209, allocations: 4.781 kB / 1.414 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.209, allocations: 3 kB / 1.414 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000533/1.209, allocations: 0.508 MB / 1.414 GB, free: 164.9 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/1.209, allocations: 115.2 kB / 1.414 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/1.209, allocations: 7.594 kB / 1.414 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/1.21, allocations: 18.98 kB / 1.414 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/1.21, allocations: 23.81 kB / 1.414 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/1.21, allocations: 5.688 kB / 1.414 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001034/1.21, allocations: 133 kB / 1.414 GB, free: 164.7 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/1.21, allocations: 0 / 1.414 GB, free: 164.7 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005209/1.21, allocations: 88.11 kB / 1.415 GB, free: 164.7 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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.0008011/1.211, allocations: 1.408 MB / 1.416 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007781/1.212, allocations: 382.4 kB / 1.416 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.212, allocations: 0.875 kB / 1.416 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002313/1.212, allocations: 129.6 kB / 1.416 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/1.212, allocations: 36.55 kB / 1.416 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/1.215, allocations: 2.314 MB / 1.419 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/1.215, allocations: 0.752 MB / 1.419 GB, free: 161.1 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002515/1.215, allocations: 75.14 kB / 1.419 GB, free: 161.1 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/1.215, allocations: 51.39 kB / 1.42 GB, free: 161.1 MB / 0.9011 GB Notification: Performance of SimCode: time 6.01e-07/1.215, allocations: 1.594 kB / 1.42 GB, free: 161.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/1.232, allocations: 3.781 MB / 1.423 GB, free: 160.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/1.232, allocations: 196 kB / 1.423 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/3.04, allocations: 1.219 kB / 1.423 GB, free: 160.7 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat does not exist to compare? outputFormat=mat