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.494/2.494, allocations: 390.5 MB / 398 MB, free: 10.92 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.001079/0.00108, allocations: 187.7 kB / 491.2 MB, free: 1.547 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.624/1.624, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0009766/0.0009765, allocations: 87.95 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.828e-05/1.818e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2821, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.32, allocations: 165.6 MB / 1.374 GB, free: 17.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/1.32, allocations: 101.4 kB / 1.374 GB, free: 17.33 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03094/1.351, allocations: 14.65 MB / 1.389 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.242e-06/1.351, allocations: 0 / 1.389 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.636e-05/1.351, allocations: 3.906 kB / 1.389 GB, free: 29.42 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.0006442/1.352, allocations: 476.4 kB / 1.389 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/1.352, allocations: 11.56 kB / 1.389 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006444/1.352, allocations: 85.25 kB / 1.389 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/1.353, allocations: 246.9 kB / 1.389 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/1.353, allocations: 3.844 kB / 1.389 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/1.353, allocations: 7.781 kB / 1.389 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002658/1.353, allocations: 178.2 kB / 1.39 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/1.353, allocations: 262.7 kB / 1.39 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.353, allocations: 0 / 1.39 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/1.353, allocations: 7.906 kB / 1.39 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.562e-05/1.353, allocations: 21.98 kB / 1.39 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/1.355, allocations: 1.458 MB / 1.391 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/1.355, allocations: 231.7 kB / 1.391 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/1.355, allocations: 115.7 kB / 1.392 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/1.355, allocations: 3.875 kB / 1.392 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/1.355, allocations: 37.5 kB / 1.392 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/1.355, allocations: 0 / 1.392 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0003428/1.356, allocations: 206.9 kB / 1.392 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/1.356, allocations: 80.98 kB / 1.392 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/1.356, allocations: 150.2 kB / 1.392 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/1.356, allocations: 25.7 kB / 1.392 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.124e-05/1.356, allocations: 144 kB / 1.392 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/1.356, allocations: 45.92 kB / 1.392 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/1.356, allocations: 3.812 kB / 1.392 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.356, allocations: 324.8 kB / 1.393 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/1.356, allocations: 86.58 kB / 1.393 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/1.356, allocations: 160 kB / 1.393 GB, free: 26.24 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/1.357, allocations: 100.3 kB / 1.393 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.357, allocations: 32 / 1.393 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003048/1.357, allocations: 263.7 kB / 1.393 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003016/1.357, allocations: 0.7135 MB / 1.394 GB, free: 25.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.357, allocations: 3.844 kB / 1.394 GB, free: 25.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/1.357, allocations: 3.969 kB / 1.394 GB, free: 25.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/1.357, allocations: 53.95 kB / 1.394 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-06/1.357, allocations: 7.781 kB / 1.394 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/1.358, allocations: 31.19 kB / 1.394 GB, free: 25.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/1.358, allocations: 7.688 kB / 1.394 GB, free: 25.37 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.693e-06/1.358, allocations: 3.844 kB / 1.394 GB, free: 25.37 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002242/1.358, allocations: 187.7 kB / 1.394 GB, free: 25.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-06/1.358, allocations: 0 / 1.394 GB, free: 25.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-06/1.358, allocations: 3.844 kB / 1.394 GB, free: 25.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/1.358, allocations: 58.23 kB / 1.394 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/1.358, allocations: 3.844 kB / 1.394 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/1.358, allocations: 27.73 kB / 1.394 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/1.358, allocations: 7.688 kB / 1.394 GB, free: 25.3 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 9.638e-05/1.358, allocations: 112.9 kB / 1.394 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000278/1.359, allocations: 220.3 kB / 1.395 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.73e-05/1.359, allocations: 15.52 kB / 1.395 GB, free: 25.1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/1.359, allocations: 237.2 kB / 1.395 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/1.359, allocations: 7.781 kB / 1.395 GB, free: 25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.359, allocations: 4.031 kB / 1.395 GB, free: 25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.359, allocations: 3.953 kB / 1.395 GB, free: 25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006395/1.36, allocations: 0.6047 MB / 1.395 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.36, allocations: 0 / 1.395 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/1.36, allocations: 50.39 kB / 1.395 GB, free: 24.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/1.36, allocations: 4.125 kB / 1.395 GB, free: 24.58 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/1.36, allocations: 3.906 kB / 1.395 GB, free: 24.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/1.36, allocations: 3.953 kB / 1.395 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/1.36, allocations: 7.875 kB / 1.395 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/1.36, allocations: 464.5 kB / 1.396 GB, free: 24.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.773e-05/1.361, allocations: 115.1 kB / 1.396 GB, free: 24.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/1.361, allocations: 7.266 kB / 1.396 GB, free: 24.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/1.361, allocations: 19.39 kB / 1.396 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/1.361, allocations: 19.41 kB / 1.396 GB, free: 24.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/1.361, allocations: 7.281 kB / 1.396 GB, free: 24.08 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.055e-05/1.361, allocations: 125.5 kB / 1.396 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.361, allocations: 0 / 1.396 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004367/1.361, allocations: 81.31 kB / 1.396 GB, free: 23.98 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.0008406/1.362, allocations: 1.353 MB / 1.398 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004055/1.363, allocations: 311.8 kB / 1.398 GB, free: 22.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.363, allocations: 3.844 kB / 1.398 GB, free: 22.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/1.363, allocations: 98.19 kB / 1.398 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/1.363, allocations: 40.05 kB / 1.398 GB, free: 22.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000717/1.364, allocations: 379.7 kB / 1.398 GB, free: 22.41 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/1.364, allocations: 0.7522 MB / 1.399 GB, free: 21.69 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002053/1.364, allocations: 78.38 kB / 1.399 GB, free: 21.65 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.866e-05/1.365, allocations: 47.06 kB / 1.399 GB, free: 21.64 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.365, allocations: 0 / 1.399 GB, free: 21.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/1.389, allocations: 3.555 MB / 1.403 GB, free: 19.96 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/1.389, allocations: 159.5 kB / 1.403 GB, free: 19.78 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/3.065, allocations: 4 kB / 1.403 GB, free: 19.77 MB / 0.8386 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