Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_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.04/2.04, allocations: 387.1 MB / 399.7 MB, free: 9.441 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.0009522/0.0009521, allocations: 184.9 kB / 492.3 MB, free: 0.5938 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.92 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.0007908/0.0007908, allocations: 99.88 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.713e-05/2.714e-05, allocations: 8 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2033, allocations: 142.4 MB / 1.213 GB, free: 38.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7134/0.9168, allocations: 148.5 MB / 1.357 GB, free: 18.89 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001893/0.917, allocations: 74.73 kB / 1.358 GB, free: 18.89 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002514/0.9195, allocations: 0.9556 MB / 1.358 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9195, allocations: 4.375 kB / 1.359 GB, free: 34.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.9196, allocations: 0 / 1.359 GB, free: 34.55 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.0001777/0.9197, allocations: 314.5 kB / 1.359 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.9198, allocations: 12.45 kB / 1.359 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.902e-05/0.9198, allocations: 30.56 kB / 1.359 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.9199, allocations: 11.56 kB / 1.359 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.706e-05/0.92, allocations: 165.9 kB / 1.359 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.92, allocations: 0 / 1.359 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.92, allocations: 3.844 kB / 1.359 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.467e-05/0.9201, allocations: 43.5 kB / 1.359 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.9201, allocations: 0.7031 kB / 1.359 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-06/0.9201, allocations: 4 kB / 1.359 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.9201, allocations: 0 / 1.359 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.292e-05/0.9202, allocations: 9.156 kB / 1.359 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.97e-05/0.9203, allocations: 154.5 kB / 1.359 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.588e-05/0.9204, allocations: 35.94 kB / 1.359 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.182e-05/0.9204, allocations: 13.16 kB / 1.359 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.9204, allocations: 0 / 1.359 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.32e-05/0.9205, allocations: 39.06 kB / 1.359 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.9205, allocations: 3.938 kB / 1.359 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001001/0.9206, allocations: 43.39 kB / 1.359 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/0.9206, allocations: 55.81 kB / 1.359 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.572e-05/0.9206, allocations: 85 kB / 1.359 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.9206, allocations: 25.7 kB / 1.36 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.761e-05/0.9207, allocations: 80.14 kB / 1.36 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.9207, allocations: 8.516 kB / 1.36 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.9207, allocations: 6.938 kB / 1.36 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.854e-05/0.9208, allocations: 316.1 kB / 1.36 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.183e-05/0.9208, allocations: 0 / 1.36 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.095e-05/0.9208, allocations: 12.02 kB / 1.36 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.975e-05/0.9208, allocations: 4.719 kB / 1.36 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9208, allocations: 4.703 kB / 1.36 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.328e-05/0.9209, allocations: 46.98 kB / 1.36 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.9209, allocations: 5.312 kB / 1.36 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.9209, allocations: 0.5156 kB / 1.36 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.9209, allocations: 0 / 1.36 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/0.9213, allocations: 44.97 kB / 1.36 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007556/0.9221, allocations: 1.29 MB / 1.361 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.712e-05/0.9221, allocations: 0.7969 kB / 1.361 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.9221, allocations: 4.609 kB / 1.361 GB, free: 31.65 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/0.9222, allocations: 107.3 kB / 1.361 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-06/0.9222, allocations: 4.797 kB / 1.361 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.275e-06/0.9222, allocations: 6.438 kB / 1.361 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.9222, allocations: 4.609 kB / 1.361 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.9222, allocations: 0 / 1.361 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.9222, allocations: 3.938 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.438e-05/0.9223, allocations: 156 kB / 1.362 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.9223, allocations: 0.7031 kB / 1.362 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.9226, allocations: 45.14 kB / 1.362 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.9226, allocations: 4.531 kB / 1.362 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.9226, allocations: 0 / 1.362 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006798/0.9233, allocations: 1.292 MB / 1.363 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.9233, allocations: 4.547 kB / 1.363 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.912e-05/0.9234, allocations: 72.66 kB / 1.363 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.9234, allocations: 81.89 kB / 1.363 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.501e-06/0.9234, allocations: 0.5156 kB / 1.363 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.215e-05/0.9235, allocations: 0.6562 kB / 1.363 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.9235, allocations: 5.203 kB / 1.363 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.9235, allocations: 0 / 1.363 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.557e-05/0.9235, allocations: 76.03 kB / 1.363 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9235, allocations: 0 / 1.363 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001593/0.9237, allocations: 11.41 kB / 1.363 GB, free: 29.75 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003144/0.924, allocations: 0.607 MB / 1.364 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003477/0.9244, allocations: 50.47 kB / 1.364 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9244, allocations: 4 kB / 1.364 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.9246, allocations: 26.52 kB / 1.364 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.668e-05/0.9247, allocations: 4.062 kB / 1.364 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002032/0.9249, allocations: 85.27 kB / 1.364 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.9251, allocations: 0.6801 MB / 1.365 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.232e-05/0.9251, allocations: 8.594 kB / 1.365 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.9252, allocations: 11.94 kB / 1.365 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/0.9252, allocations: 0 / 1.365 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01179/0.937, allocations: 1.064 MB / 1.366 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001248/0.9371, allocations: 195.1 kB / 1.366 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.464/2.401, allocations: 0 / 1.366 GB, free: 27.93 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat does not exist to compare? outputFormat=mat