Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_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.005863/0.005863, allocations: 96.84 kB / 15.73 MB, free: 6.047 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.001184/0.001184, allocations: 192.8 kB / 16.67 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00214/0.00214, allocations: 296.8 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9115/0.9115, allocations: 169.3 MB / 0.4983 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 95.86 kB / 0.681 GB, free: 7.398 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4249/0.4268, allocations: 86.99 MB / 0.7659 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002158/0.429, allocations: 0.586 MB / 0.7665 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003598/0.4294, allocations: 91.8 kB / 0.7666 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.068e-05/0.4294, allocations: 0 / 0.7666 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.4295, allocations: 3.938 kB / 0.7666 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.313e-05/0.4295, allocations: 4 kB / 0.7666 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.4298, allocations: 11.97 kB / 0.7666 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.228e-05/0.4298, allocations: 11.98 kB / 0.7666 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.947e-05/0.4299, allocations: 4 kB / 0.7666 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.158e-05/0.4299, allocations: 7.875 kB / 0.7667 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.152e-05/0.43, allocations: 4 kB / 0.7667 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.43, allocations: 0 / 0.7667 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.767e-05/0.4301, allocations: 15.98 kB / 0.7667 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.4301, allocations: 0 / 0.7667 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.4302, allocations: 7.984 kB / 0.7667 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.4303, allocations: 23.91 kB / 0.7667 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4303, allocations: 0 / 0.7667 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4303, allocations: 0 / 0.7667 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.4303, allocations: 0 / 0.7667 GB, free: 3.066 MB / 0.5294 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.0004538/0.4308, allocations: 318.4 kB / 0.767 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.4309, allocations: 12.03 kB / 0.767 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.113e-05/0.4309, allocations: 34.73 kB / 0.767 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.4311, allocations: 8.922 kB / 0.7671 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.4312, allocations: 164.4 kB / 0.7672 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.4313, allocations: 384 / 0.7672 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.4313, allocations: 4.375 kB / 0.7672 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.4314, allocations: 38.25 kB / 0.7673 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.4315, allocations: 3.938 kB / 0.7673 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.4315, allocations: 3.938 kB / 0.7673 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.4315, allocations: 0 / 0.7673 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.594e-05/0.4316, allocations: 11.98 kB / 0.7673 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.4318, allocations: 157.7 kB / 0.7674 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.432, allocations: 38.66 kB / 0.7675 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.153e-05/0.4321, allocations: 20.84 kB / 0.7675 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.4321, allocations: 3.938 kB / 0.7675 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.4321, allocations: 30.56 kB / 0.7675 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 3.627e-06/0.4322, allocations: 4 kB / 0.7675 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000271/0.4324, allocations: 61.55 kB / 0.7676 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.4325, allocations: 55.41 kB / 0.7676 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.638e-05/0.4325, allocations: 89.86 kB / 0.7677 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.4326, allocations: 25.7 kB / 0.7677 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.019e-05/0.4326, allocations: 84.08 kB / 0.7678 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.4327, allocations: 11.81 kB / 0.7678 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.4327, allocations: 21.7 kB / 0.7679 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4328, allocations: 314.8 kB / 0.7682 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-05/0.4329, allocations: 4 kB / 0.7682 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.473e-05/0.433, allocations: 7.984 kB / 0.7682 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.4331, allocations: 24.78 kB / 0.7682 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4331, allocations: 0 / 0.7682 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001483/0.4332, allocations: 45.69 kB / 0.7682 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4333, allocations: 4 kB / 0.7682 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4333, allocations: 11.94 kB / 0.7682 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.4333, allocations: 4 kB / 0.7683 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/0.4338, allocations: 39.94 kB / 0.7683 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.4355, allocations: 1.404 MB / 0.7697 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.357e-05/0.4356, allocations: 7.969 kB / 0.7697 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.4356, allocations: 0 / 0.7697 GB, free: 15.66 MB / 0.545 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.099e-05/0.4357, allocations: 117.8 kB / 0.7698 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.4357, allocations: 4 kB / 0.7698 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.049e-05/0.4357, allocations: 7.5 kB / 0.7698 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4357, allocations: 4.062 kB / 0.7698 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.4357, allocations: 336 / 0.7698 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4357, allocations: 0 / 0.7698 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.4359, allocations: 153.6 kB / 0.7699 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4359, allocations: 0 / 0.7699 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000487/0.4364, allocations: 47.94 kB / 0.77 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.4364, allocations: 7.969 kB / 0.77 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.4364, allocations: 0 / 0.77 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/0.4379, allocations: 1.404 MB / 0.7714 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.4379, allocations: 4 kB / 0.7714 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.4381, allocations: 81.17 kB / 0.7714 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.4382, allocations: 81.11 kB / 0.7715 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.4382, allocations: 3.938 kB / 0.7715 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.834e-05/0.4382, allocations: 0 / 0.7715 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.4383, allocations: 3.984 kB / 0.7715 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.4383, allocations: 4 kB / 0.7715 GB, free: 13.51 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.542e-05/0.4383, allocations: 79.22 kB / 0.7716 GB, free: 13.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4383, allocations: 7.938 kB / 0.7716 GB, free: 13.42 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003424/0.4387, allocations: 8 kB / 0.7716 GB, free: 13.41 MB / 0.545 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004972/0.4392, allocations: 0.6124 MB / 0.7722 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00049/0.4397, allocations: 55.92 kB / 0.7723 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4397, allocations: 0 / 0.7723 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.4399, allocations: 39.95 kB / 0.7723 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.4401, allocations: 5.875 kB / 0.7723 GB, free: 12.67 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.4405, allocations: 130.6 kB / 0.7724 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.4407, allocations: 0.6767 MB / 0.7731 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.763e-05/0.4407, allocations: 4 kB / 0.7731 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.4408, allocations: 11.42 kB / 0.7731 GB, free: 11.79 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.4408, allocations: 4 kB / 0.7731 GB, free: 11.78 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.4617, allocations: 1.305 MB / 0.7744 GB, free: 10.66 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.68, allocations: 7.188 kB / 0.7744 GB, free: 10.66 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)