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.62/2.62, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001318/0.001318, allocations: 180.8 kB / 487.4 MB, free: 5.055 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.582/1.582, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 95.78 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.841e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2862, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.073/1.359, allocations: 164.8 MB / 1.367 GB, free: 17.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/1.359, allocations: 95.52 kB / 1.367 GB, free: 17.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03235/1.392, allocations: 14.66 MB / 1.381 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.383e-06/1.392, allocations: 0 / 1.381 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.432e-05/1.392, allocations: 3.719 kB / 1.381 GB, free: 30.91 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.0009007/1.393, allocations: 479.5 kB / 1.382 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/1.393, allocations: 7.688 kB / 1.382 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007841/1.393, allocations: 86.12 kB / 1.382 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/1.394, allocations: 243.2 kB / 1.382 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/1.394, allocations: 3.844 kB / 1.382 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/1.394, allocations: 7.688 kB / 1.382 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003811/1.394, allocations: 183.5 kB / 1.382 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004265/1.395, allocations: 263.8 kB / 1.383 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/1.395, allocations: 3.938 kB / 1.383 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/1.395, allocations: 3.844 kB / 1.383 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.922e-05/1.395, allocations: 18.23 kB / 1.383 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/1.397, allocations: 1.463 MB / 1.384 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/1.397, allocations: 232.5 kB / 1.384 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/1.397, allocations: 110.8 kB / 1.384 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/1.398, allocations: 3.812 kB / 1.384 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/1.398, allocations: 41.92 kB / 1.384 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.773e-06/1.398, allocations: 0 / 1.384 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0005283/1.398, allocations: 204.4 kB / 1.385 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/1.398, allocations: 81.02 kB / 1.385 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/1.398, allocations: 153.8 kB / 1.385 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/1.398, allocations: 25.7 kB / 1.385 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/1.399, allocations: 149 kB / 1.385 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/1.399, allocations: 46.95 kB / 1.385 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/1.399, allocations: 3.812 kB / 1.385 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001874/1.399, allocations: 322.6 kB / 1.385 GB, free: 27.83 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/1.399, allocations: 87.61 kB / 1.385 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/1.399, allocations: 153 kB / 1.386 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/1.399, allocations: 101.3 kB / 1.386 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.399, allocations: 32 / 1.386 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003769/1.4, allocations: 270.6 kB / 1.386 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004347/1.4, allocations: 0.6966 MB / 1.387 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/1.4, allocations: 3.688 kB / 1.387 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/1.4, allocations: 7.922 kB / 1.387 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/1.401, allocations: 54.39 kB / 1.387 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/1.401, allocations: 3.812 kB / 1.387 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/1.401, allocations: 38.97 kB / 1.387 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/1.401, allocations: 14.67 kB / 1.387 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/1.401, allocations: 5.344 kB / 1.387 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002934/1.401, allocations: 189.5 kB / 1.387 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.401, allocations: 3.984 kB / 1.387 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/1.401, allocations: 7.672 kB / 1.387 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/1.401, allocations: 53.34 kB / 1.387 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/1.401, allocations: 3.875 kB / 1.387 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/1.402, allocations: 31.38 kB / 1.387 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/1.402, allocations: 11.75 kB / 1.387 GB, free: 26.77 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.0001175/1.402, allocations: 112.7 kB / 1.387 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003205/1.402, allocations: 214 kB / 1.387 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/1.402, allocations: 15.7 kB / 1.387 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/1.403, allocations: 232.9 kB / 1.388 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/1.403, allocations: 3.844 kB / 1.388 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/1.403, allocations: 4.031 kB / 1.388 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/1.403, allocations: 0 / 1.388 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008226/1.403, allocations: 0.5986 MB / 1.388 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.403, allocations: 0 / 1.388 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/1.404, allocations: 46.52 kB / 1.388 GB, free: 26.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/1.404, allocations: 11.91 kB / 1.388 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/1.404, allocations: 0 / 1.388 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/1.404, allocations: 7.781 kB / 1.388 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/1.404, allocations: 3.953 kB / 1.388 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/1.404, allocations: 464.5 kB / 1.389 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/1.404, allocations: 118.8 kB / 1.389 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/1.404, allocations: 3.844 kB / 1.389 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/1.405, allocations: 23.5 kB / 1.389 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/1.405, allocations: 22.94 kB / 1.389 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/1.405, allocations: 3.844 kB / 1.389 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001102/1.405, allocations: 117.3 kB / 1.389 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.405, allocations: 0 / 1.389 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004912/1.405, allocations: 84 kB / 1.389 GB, free: 25.48 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.001038/1.406, allocations: 1.357 MB / 1.39 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004641/1.407, allocations: 309.8 kB / 1.391 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.407, allocations: 0 / 1.391 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/1.407, allocations: 95.73 kB / 1.391 GB, free: 24.19 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/1.407, allocations: 44 kB / 1.391 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008733/1.408, allocations: 371.4 kB / 1.391 GB, free: 23.92 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/1.409, allocations: 0.7613 MB / 1.392 GB, free: 23.18 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002294/1.409, allocations: 80.14 kB / 1.392 GB, free: 23.15 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/1.409, allocations: 45.67 kB / 1.392 GB, free: 23.14 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/1.409, allocations: 0 / 1.392 GB, free: 23.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/1.434, allocations: 3.547 MB / 1.396 GB, free: 21.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/1.434, allocations: 149.5 kB / 1.396 GB, free: 21.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/3.135, allocations: 7.75 kB / 1.396 GB, free: 21.28 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