Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.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.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_PowerLinearized",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.275/2.275, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001447/0.001448, allocations: 176.7 kB / 487.4 MB, free: 5.043 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.495/1.495, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 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.001001/0.001001, allocations: 95.91 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.295e-05/2.297e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2796, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9006/1.18, allocations: 148.5 MB / 1.351 GB, free: 17.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/1.18, allocations: 73.31 kB / 1.351 GB, free: 17.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002634/1.183, allocations: 0.7773 MB / 1.352 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.182e-06/1.183, allocations: 1.312 kB / 1.352 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.683e-06/1.183, allocations: 0 / 1.352 GB, free: 33.62 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003283/1.183, allocations: 342.1 kB / 1.352 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/1.184, allocations: 9.094 kB / 1.352 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/1.184, allocations: 22.75 kB / 1.352 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.203e-05/1.184, allocations: 166.8 kB / 1.352 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/1.184, allocations: 0 / 1.352 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/1.184, allocations: 1.312 kB / 1.352 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.795e-05/1.184, allocations: 15.3 kB / 1.352 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.448e-05/1.184, allocations: 39.08 kB / 1.352 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/1.184, allocations: 4 kB / 1.352 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/1.184, allocations: 0.5625 kB / 1.352 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/1.184, allocations: 3.984 kB / 1.352 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/1.184, allocations: 258.3 kB / 1.353 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.615e-05/1.185, allocations: 34.69 kB / 1.353 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.793e-05/1.185, allocations: 11.98 kB / 1.353 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/1.185, allocations: 1.312 kB / 1.353 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/1.185, allocations: 32.47 kB / 1.353 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/1.185, allocations: 0 / 1.353 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001458/1.185, allocations: 49.08 kB / 1.353 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.107e-05/1.185, allocations: 56 kB / 1.353 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.679e-05/1.185, allocations: 96.31 kB / 1.353 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/1.185, allocations: 29.73 kB / 1.353 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/1.185, allocations: 86.16 kB / 1.353 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/1.185, allocations: 9.094 kB / 1.353 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/1.185, allocations: 1.641 kB / 1.353 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.185, allocations: 321.5 kB / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.046e-05/1.185, allocations: 5.281 kB / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.917e-05/1.185, allocations: 8.359 kB / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.176e-05/1.185, allocations: 6.625 kB / 1.353 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.185, allocations: 4.062 kB / 1.353 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.469e-05/1.185, allocations: 51.02 kB / 1.353 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/1.185, allocations: 6.625 kB / 1.353 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/1.185, allocations: 0 / 1.353 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/1.185, allocations: 0 / 1.353 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/1.185, allocations: 14.77 kB / 1.353 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/1.185, allocations: 0 / 1.353 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.796e-05/1.186, allocations: 19.36 kB / 1.354 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/1.186, allocations: 1.281 kB / 1.354 GB, free: 32.04 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.282e-05/1.186, allocations: 106.8 kB / 1.354 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.661e-05/1.186, allocations: 47.36 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/1.186, allocations: 5.75 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/1.186, allocations: 5.094 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/1.186, allocations: 1.25 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/1.186, allocations: 0 / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/1.186, allocations: 5.984 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/1.186, allocations: 145.9 kB / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/1.186, allocations: 1.812 kB / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.335e-05/1.186, allocations: 13.77 kB / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.186, allocations: 0.6094 kB / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/1.186, allocations: 1.281 kB / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.186, allocations: 0 / 1.354 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.186, allocations: 5.391 kB / 1.354 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/1.186, allocations: 154.3 kB / 1.354 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.218e-05/1.186, allocations: 79.02 kB / 1.354 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/1.186, allocations: 1.281 kB / 1.354 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.711e-05/1.186, allocations: 13.25 kB / 1.354 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/1.186, allocations: 1.734 kB / 1.354 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/1.186, allocations: 0 / 1.354 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.783e-05/1.186, allocations: 88.23 kB / 1.354 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.186, allocations: 0 / 1.354 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001994/1.187, allocations: 7.688 kB / 1.354 GB, free: 31.41 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0003684/1.187, allocations: 0.6751 MB / 1.355 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.732e-05/1.187, allocations: 19.08 kB / 1.355 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.187, allocations: 8.031 kB / 1.355 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.357e-05/1.187, allocations: 7.688 kB / 1.355 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/1.187, allocations: 8.062 kB / 1.355 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/1.188, allocations: 100.4 kB / 1.355 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/1.188, allocations: 0.6815 MB / 1.356 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.095e-05/1.188, allocations: 4.062 kB / 1.356 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/1.188, allocations: 12.53 kB / 1.356 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of SimCode: time 2.11e-07/1.188, allocations: 0 / 1.356 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/1.208, allocations: 0.8589 MB / 1.356 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/1.209, allocations: 131.5 kB / 1.357 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.415/2.624, allocations: 0 / 1.357 GB, free: 29.69 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat does not exist to compare? outputFormat=mat