Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.ParallelResistors,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.446/2.446, allocations: 387.1 MB / 399.7 MB, free: 9.527 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.001634/0.001634, allocations: 176.8 kB / 492.3 MB, free: 0.625 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.58/1.58, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009543/0.0009544, allocations: 98.77 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.33e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3036, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.056/1.36, allocations: 165.5 MB / 1.374 GB, free: 18.91 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/1.36, allocations: 92.73 kB / 1.374 GB, free: 18.91 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03178/1.392, allocations: 14.7 MB / 1.389 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.312e-06/1.392, allocations: 0 / 1.389 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.935e-05/1.392, allocations: 3.906 kB / 1.389 GB, free: 30.66 MB / 0.8386 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.0006979/1.393, allocations: 475.7 kB / 1.389 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/1.393, allocations: 11.5 kB / 1.389 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.848e-05/1.393, allocations: 56.05 kB / 1.389 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000685/1.394, allocations: 81.06 kB / 1.389 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/1.394, allocations: 239.9 kB / 1.389 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/1.394, allocations: 11.55 kB / 1.389 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/1.394, allocations: 15.03 kB / 1.389 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004091/1.394, allocations: 294.2 kB / 1.39 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/1.394, allocations: 0 / 1.39 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/1.394, allocations: 11.48 kB / 1.39 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-05/1.395, allocations: 22.23 kB / 1.39 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003161/1.395, allocations: 232.7 kB / 1.39 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/1.396, allocations: 1.509 MB / 1.391 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/1.397, allocations: 245.6 kB / 1.392 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/1.397, allocations: 113.1 kB / 1.392 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/1.397, allocations: 7.844 kB / 1.392 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/1.397, allocations: 34.06 kB / 1.392 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 3.397e-06/1.397, allocations: 4 kB / 1.392 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0004219/1.397, allocations: 218.2 kB / 1.392 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/1.397, allocations: 88.81 kB / 1.392 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/1.398, allocations: 153.7 kB / 1.392 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/1.398, allocations: 29.27 kB / 1.392 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/1.398, allocations: 142 kB / 1.392 GB, free: 27.83 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/1.398, allocations: 54.06 kB / 1.392 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/1.398, allocations: 7.156 kB / 1.392 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001082/1.398, allocations: 326 kB / 1.393 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/1.398, allocations: 86.12 kB / 1.393 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/1.398, allocations: 152.4 kB / 1.393 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/1.398, allocations: 116 kB / 1.393 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.398, allocations: 0 / 1.393 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003697/1.399, allocations: 277.2 kB / 1.393 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003294/1.399, allocations: 0.7046 MB / 1.394 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/1.399, allocations: 3.844 kB / 1.394 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/1.399, allocations: 3.781 kB / 1.394 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/1.399, allocations: 54.17 kB / 1.394 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/1.399, allocations: 11.92 kB / 1.394 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/1.4, allocations: 37.88 kB / 1.394 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/1.4, allocations: 11.34 kB / 1.394 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/1.4, allocations: 4.594 kB / 1.394 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003114/1.4, allocations: 210.9 kB / 1.394 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.4, allocations: 3.906 kB / 1.394 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.579e-06/1.4, allocations: 4 kB / 1.394 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/1.4, allocations: 53.8 kB / 1.394 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/1.4, allocations: 7.781 kB / 1.394 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/1.4, allocations: 30.95 kB / 1.394 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/1.4, allocations: 7.531 kB / 1.394 GB, free: 26.41 MB / 0.8386 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 () * 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.0001104/1.4, allocations: 117 kB / 1.395 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/1.401, allocations: 19.47 kB / 1.395 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004672/1.401, allocations: 247.9 kB / 1.395 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.401, allocations: 0 / 1.395 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.401, allocations: 0 / 1.395 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.401, allocations: 3.812 kB / 1.395 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008253/1.402, allocations: 0.6612 MB / 1.395 GB, free: 25.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/1.402, allocations: 3.938 kB / 1.395 GB, free: 25.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/1.402, allocations: 50.56 kB / 1.396 GB, free: 25.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/1.402, allocations: 0 / 1.396 GB, free: 25.74 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/1.402, allocations: 7.797 kB / 1.396 GB, free: 25.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/1.402, allocations: 7.797 kB / 1.396 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.402, allocations: 0 / 1.396 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004479/1.403, allocations: 487.5 kB / 1.396 GB, free: 25.37 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/1.403, allocations: 119.2 kB / 1.396 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/1.403, allocations: 0 / 1.396 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/1.403, allocations: 27.22 kB / 1.396 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/1.403, allocations: 11.78 kB / 1.396 GB, free: 25.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/1.403, allocations: 7.906 kB / 1.396 GB, free: 25.24 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001016/1.403, allocations: 136.7 kB / 1.396 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.403, allocations: 4 kB / 1.396 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004562/1.404, allocations: 92.19 kB / 1.396 GB, free: 25.13 MB / 0.8386 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 () * 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.0009171/1.405, allocations: 1.365 MB / 1.398 GB, free: 23.9 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005243/1.405, allocations: 331.8 kB / 1.398 GB, free: 23.85 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.405, allocations: 0 / 1.398 GB, free: 23.85 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/1.405, allocations: 104 kB / 1.398 GB, free: 23.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/1.406, allocations: 30.91 kB / 1.398 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008875/1.407, allocations: 399.5 kB / 1.399 GB, free: 23.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/1.407, allocations: 0.7416 MB / 1.399 GB, free: 22.85 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00023/1.407, allocations: 87.33 kB / 1.399 GB, free: 22.81 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/1.407, allocations: 49.17 kB / 1.399 GB, free: 22.8 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/1.407, allocations: 0 / 1.399 GB, free: 22.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/1.424, allocations: 3.939 MB / 1.403 GB, free: 20.56 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/1.424, allocations: 181.9 kB / 1.403 GB, free: 20.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/3.118, allocations: 0 / 1.403 GB, free: 20.32 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat does not exist to compare? outputFormat=mat