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 1.997/1.997, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.000989/0.0009892, allocations: 172.9 kB / 492.3 MB, free: 0.6016 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.284/1.284, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0008469/0.0008469, allocations: 91.89 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.523e-05/2.525e-05, allocations: 7.25 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2029, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6749/0.8778, allocations: 149.2 MB / 1.358 GB, free: 18.86 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000181/0.878, allocations: 73.73 kB / 1.358 GB, free: 18.86 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002282/0.8803, allocations: 0.784 MB / 1.359 GB, free: 34.53 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8803, allocations: 0 / 1.359 GB, free: 34.53 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.8803, allocations: 0 / 1.359 GB, free: 34.53 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.0002631/0.8806, allocations: 334.5 kB / 1.359 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.8806, allocations: 11.5 kB / 1.359 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.311e-05/0.8807, allocations: 39.52 kB / 1.359 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.8808, allocations: 20.78 kB / 1.359 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.078e-05/0.8809, allocations: 168.1 kB / 1.36 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.8809, allocations: 0 / 1.36 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.8809, allocations: 7.828 kB / 1.36 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.043e-05/0.881, allocations: 37.16 kB / 1.36 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.881, allocations: 3.812 kB / 1.36 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.881, allocations: 0 / 1.36 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.881, allocations: 4 kB / 1.36 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.705e-05/0.8811, allocations: 18.09 kB / 1.36 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.8814, allocations: 275.2 kB / 1.36 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.637e-05/0.8815, allocations: 36.98 kB / 1.36 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.661e-05/0.8815, allocations: 15.52 kB / 1.36 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.8815, allocations: 0 / 1.36 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.242e-05/0.8815, allocations: 31.69 kB / 1.36 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.8815, allocations: 3.812 kB / 1.36 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000137/0.8817, allocations: 45.58 kB / 1.36 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/0.8817, allocations: 51.41 kB / 1.36 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.976e-05/0.8818, allocations: 98.83 kB / 1.36 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.8818, allocations: 29.55 kB / 1.36 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.051e-05/0.8818, allocations: 88.95 kB / 1.36 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.223e-05/0.8818, allocations: 7.844 kB / 1.36 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-06/0.8818, allocations: 0 / 1.36 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.781e-05/0.8819, allocations: 323.8 kB / 1.361 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.068e-05/0.8819, allocations: 6.969 kB / 1.361 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.827e-05/0.882, allocations: 7.625 kB / 1.361 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.083e-05/0.882, allocations: 7.328 kB / 1.361 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.882, allocations: 0 / 1.361 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.014e-05/0.8821, allocations: 57.53 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.8821, allocations: 3.844 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.8821, allocations: 2.562 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.8821, allocations: 1.5 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.812e-05/0.8822, allocations: 14.5 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.8822, allocations: 0 / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.2e-05/0.8823, allocations: 15.48 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.8823, allocations: 4 kB / 1.361 GB, free: 32.88 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 4.221e-05/0.8824, allocations: 111.4 kB / 1.361 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.8824, allocations: 3.938 kB / 1.361 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.839e-05/0.8824, allocations: 4.922 kB / 1.361 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.8824, allocations: 3.906 kB / 1.361 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.8824, allocations: 0 / 1.361 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.8824, allocations: 1.266 kB / 1.361 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.8825, allocations: 168.1 kB / 1.361 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.8826, allocations: 3.812 kB / 1.361 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.8826, allocations: 16.66 kB / 1.361 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.8826, allocations: 0 / 1.361 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.8826, allocations: 3.812 kB / 1.361 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.8827, allocations: 1.5 kB / 1.361 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.8827, allocations: 0 / 1.361 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.882e-05/0.8828, allocations: 144.2 kB / 1.361 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.541e-05/0.8828, allocations: 90.38 kB / 1.361 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.8828, allocations: 3.938 kB / 1.361 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.122e-05/0.8829, allocations: 13.58 kB / 1.361 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.8829, allocations: 5.594 kB / 1.361 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.8829, allocations: 3.844 kB / 1.361 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.053e-05/0.883, allocations: 80.62 kB / 1.361 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.883, allocations: 0 / 1.361 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002053/0.8832, allocations: 3.875 kB / 1.361 GB, free: 32.24 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.0002571/0.8834, allocations: 0.6797 MB / 1.362 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.671e-05/0.8835, allocations: 24.25 kB / 1.362 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.8835, allocations: 0 / 1.362 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.559e-05/0.8836, allocations: 12.56 kB / 1.362 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.8837, allocations: 7.906 kB / 1.362 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.884, allocations: 105.2 kB / 1.362 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.8842, allocations: 0.6776 MB / 1.363 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.956e-05/0.8843, allocations: 3.844 kB / 1.363 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.8843, allocations: 12.7 kB / 1.363 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/0.8843, allocations: 0 / 1.363 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01038/0.8947, allocations: 1.164 MB / 1.364 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000128/0.8948, allocations: 156.2 kB / 1.364 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.449/2.344, allocations: 0 / 1.364 GB, free: 30.39 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