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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 87.42 kB / 15.07 MB, free: 1.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.363/2.363, allocations: 390.4 MB / 0.6655 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003305, allocations: 16 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6466/0.6469, allocations: 142.3 MB / 0.9539 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0008312/0.6478, allocations: 319.5 kB / 0.9542 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003055/0.6482, allocations: 88.12 kB / 0.9542 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.522e-05/0.6482, allocations: 1.188 kB / 0.9542 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.126e-05/0.6482, allocations: 0 / 0.9542 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.836e-05/0.6483, allocations: 3.984 kB / 0.9543 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.6484, allocations: 8.562 kB / 0.9543 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.673e-05/0.6485, allocations: 2.688 kB / 0.9543 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.6485, allocations: 5.266 kB / 0.9543 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.011e-05/0.6486, allocations: 13.61 kB / 0.9543 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.142e-05/0.6486, allocations: 2.469 kB / 0.9543 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.6487, allocations: 0 / 0.9543 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.291e-05/0.6487, allocations: 14.86 kB / 0.9543 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.093e-06/0.6487, allocations: 1.188 kB / 0.9543 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.849e-05/0.6488, allocations: 26.67 kB / 0.9543 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.833e-05/0.6488, allocations: 7.609 kB / 0.9543 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6488, allocations: 0 / 0.9543 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6488, allocations: 0 / 0.9543 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.6489, allocations: 5.125 kB / 0.9543 GB, free: 7.727 MB / 0.7169 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.0002548/0.6491, allocations: 323 kB / 0.9546 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.6492, allocations: 9.844 kB / 0.9547 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.786e-05/0.6492, allocations: 30.56 kB / 0.9547 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.6494, allocations: 13.25 kB / 0.9547 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.969e-05/0.6494, allocations: 163 kB / 0.9549 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.6495, allocations: 1.344 kB / 0.9549 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.6495, allocations: 1.156 kB / 0.9549 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.6496, allocations: 43.38 kB / 0.9549 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.6496, allocations: 4 kB / 0.9549 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.6496, allocations: 0 / 0.9549 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.6496, allocations: 3.984 kB / 0.9549 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.844e-05/0.6497, allocations: 19.06 kB / 0.9549 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001133/0.6498, allocations: 157.5 kB / 0.9551 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.65, allocations: 44 kB / 0.9551 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.998e-05/0.65, allocations: 13.67 kB / 0.9551 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.6501, allocations: 1.281 kB / 0.9551 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.6501, allocations: 34.56 kB / 0.9552 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.6501, allocations: 1.406 kB / 0.9552 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002027/0.6503, allocations: 55.95 kB / 0.9552 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.6503, allocations: 56.75 kB / 0.9553 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.316e-05/0.6504, allocations: 93.86 kB / 0.9554 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.6504, allocations: 25.7 kB / 0.9554 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.173e-05/0.6504, allocations: 80.14 kB / 0.9555 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.6504, allocations: 11.67 kB / 0.9555 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.6504, allocations: 1.312 kB / 0.9555 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.78e-05/0.6505, allocations: 318.8 kB / 0.9558 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.299e-05/0.6505, allocations: 4.25 kB / 0.9558 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/0.6506, allocations: 7.672 kB / 0.9558 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.09e-05/0.6506, allocations: 12.91 kB / 0.9558 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6506, allocations: 0 / 0.9558 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.688e-05/0.6507, allocations: 49.64 kB / 0.9558 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.6507, allocations: 5.75 kB / 0.9559 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6508, allocations: 1.281 kB / 0.9559 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.6508, allocations: 0 / 0.9559 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.6511, allocations: 43.19 kB / 0.9559 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009835/0.6521, allocations: 1.304 MB / 0.9572 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.037e-05/0.6522, allocations: 9.219 kB / 0.9572 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.912e-06/0.6522, allocations: 1.125 kB / 0.9572 GB, free: 4.648 MB / 0.7169 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 () * Number of clocked 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.265e-05/0.6522, allocations: 112.2 kB / 0.9573 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-06/0.6522, allocations: 4.422 kB / 0.9573 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.233e-05/0.6523, allocations: 4.906 kB / 0.9573 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.6523, allocations: 3.938 kB / 0.9573 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.6523, allocations: 5.172 kB / 0.9573 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.6523, allocations: 7.875 kB / 0.9573 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.089e-05/0.6523, allocations: 164.7 kB / 0.9575 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.6523, allocations: 0 / 0.9575 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003099/0.6527, allocations: 50.02 kB / 0.9575 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.6527, allocations: 1.156 kB / 0.9575 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.6527, allocations: 0 / 0.9575 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007886/0.6535, allocations: 1.305 MB / 0.9588 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6535, allocations: 3.938 kB / 0.9588 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.6536, allocations: 83.06 kB / 0.9589 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.755e-05/0.6536, allocations: 77.11 kB / 0.9589 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.394e-06/0.6536, allocations: 1.469 kB / 0.9589 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.332e-05/0.6537, allocations: 0 / 0.9589 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.6537, allocations: 2.781 kB / 0.959 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.6537, allocations: 0 / 0.959 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.589e-05/0.6537, allocations: 80.89 kB / 0.959 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6537, allocations: 4 kB / 0.959 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001946/0.6539, allocations: 2.406 kB / 0.959 GB, free: 2.633 MB / 0.7169 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 () * Number of clocked 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.0002933/0.6542, allocations: 0.6112 MB / 0.9596 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003973/0.6546, allocations: 63.56 kB / 0.9597 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6546, allocations: 0 / 0.9597 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.6549, allocations: 39.3 kB / 0.9597 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.655, allocations: 12.97 kB / 0.9597 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.6554, allocations: 126 kB / 0.9599 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.6555, allocations: 0.6765 MB / 0.9605 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.87e-05/0.6556, allocations: 2.312 kB / 0.9605 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.063e-05/0.6556, allocations: 8.469 kB / 0.9605 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.6556, allocations: 1.125 kB / 0.9605 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01132/0.667, allocations: 1.071 MB / 0.9616 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001291/0.6671, allocations: 223.1 kB / 0.9618 GB, free: 396 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.3, allocations: 0 / 0.9618 GB, free: 396 kB / 0.7169 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