Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0007982/0.0007982, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.005299/0.005299, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.364/1.364, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.084/1.084, allocations: 143.2 MB / 434.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003209, allocations: 12 kB / 0.5165 GB, free: 11.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.16, allocations: 83.42 MB / 0.598 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.000736/0.1608, allocations: 323.1 kB / 0.5983 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002981/0.1611, allocations: 95.72 kB / 0.5984 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.017e-05/0.1611, allocations: 0 / 0.5984 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.398e-05/0.1612, allocations: 0 / 0.5984 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.738e-05/0.1612, allocations: 0 / 0.5984 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.1614, allocations: 8 kB / 0.5984 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.172e-05/0.1614, allocations: 11.98 kB / 0.5984 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.247e-05/0.1615, allocations: 0 / 0.5984 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.786e-05/0.1615, allocations: 11.88 kB / 0.5984 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.61e-05/0.1616, allocations: 4 kB / 0.5984 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.1616, allocations: 0 / 0.5984 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.609e-05/0.1617, allocations: 19.98 kB / 0.5984 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.1617, allocations: 3.984 kB / 0.5984 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.1617, allocations: 25.7 kB / 0.5985 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.129e-05/0.1618, allocations: 23.91 kB / 0.5985 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1618, allocations: 0 / 0.5985 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1618, allocations: 0 / 0.5985 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.1618, allocations: 0 / 0.5985 GB, free: 7.105 MB / 0.4981 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.000302/0.1621, allocations: 311.6 kB / 0.5988 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1622, allocations: 8.031 kB / 0.5988 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.415e-05/0.1622, allocations: 34.75 kB / 0.5988 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.1624, allocations: 12.92 kB / 0.5988 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.95e-05/0.1625, allocations: 164.4 kB / 0.599 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.1625, allocations: 384 / 0.599 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.1625, allocations: 384 / 0.599 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.1626, allocations: 38.25 kB / 0.599 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1627, allocations: 11.94 kB / 0.599 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.1627, allocations: 7.875 kB / 0.599 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1627, allocations: 0 / 0.599 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.634e-05/0.1628, allocations: 11.98 kB / 0.5991 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001459/0.1629, allocations: 149.7 kB / 0.5992 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.1631, allocations: 42.56 kB / 0.5992 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.653e-05/0.1631, allocations: 20.91 kB / 0.5993 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.1631, allocations: 0 / 0.5993 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.1632, allocations: 34.56 kB / 0.5993 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.345e-06/0.1632, allocations: 0 / 0.5993 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001938/0.1634, allocations: 61.53 kB / 0.5993 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.1634, allocations: 55.41 kB / 0.5994 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.043e-05/0.1635, allocations: 89.86 kB / 0.5995 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.1635, allocations: 29.7 kB / 0.5995 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.298e-05/0.1635, allocations: 84.14 kB / 0.5996 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.1636, allocations: 12.03 kB / 0.5996 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/0.1636, allocations: 13.66 kB / 0.5996 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1637, allocations: 314.8 kB / 0.5999 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.763e-05/0.1637, allocations: 11.98 kB / 0.5999 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.77e-05/0.1638, allocations: 4 kB / 0.5999 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.893e-05/0.1639, allocations: 28.78 kB / 0.6 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1639, allocations: 0 / 0.6 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000102/0.164, allocations: 49.67 kB / 0.6 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.164, allocations: 6.031 kB / 0.6 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.164, allocations: 3.938 kB / 0.6 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.164, allocations: 4 kB / 0.6 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.1644, allocations: 39.94 kB / 0.6001 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.1656, allocations: 1.31 MB / 0.6013 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.999e-05/0.1656, allocations: 3.984 kB / 0.6013 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1657, allocations: 4.031 kB / 0.6013 GB, free: 3.805 MB / 0.4981 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 6.545e-05/0.1657, allocations: 113.9 kB / 0.6015 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-06/0.1657, allocations: 4 kB / 0.6015 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.299e-05/0.1658, allocations: 3.5 kB / 0.6015 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1658, allocations: 0 / 0.6015 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.42e-07/0.1658, allocations: 4 kB / 0.6015 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1658, allocations: 0 / 0.6015 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.359e-05/0.1659, allocations: 157.6 kB / 0.6016 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1659, allocations: 4 kB / 0.6016 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000353/0.1662, allocations: 47.92 kB / 0.6017 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1662, allocations: 0 / 0.6017 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1663, allocations: 0 / 0.6017 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.1673, allocations: 1.31 MB / 0.6029 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1673, allocations: 0 / 0.6029 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.1675, allocations: 93.11 kB / 0.603 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.1675, allocations: 77.11 kB / 0.6031 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.67e-06/0.1675, allocations: 0 / 0.6031 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.417e-05/0.1676, allocations: 0 / 0.6031 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.1676, allocations: 7.984 kB / 0.6031 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1676, allocations: 4 kB / 0.6031 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.186e-05/0.1676, allocations: 75.28 kB / 0.6032 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1676, allocations: 4 kB / 0.6032 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001884/0.1678, allocations: 11.94 kB / 0.6032 GB, free: 1.668 MB / 0.4981 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.0003897/0.1682, allocations: 0.6098 MB / 0.6038 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004502/0.1687, allocations: 59.92 kB / 0.6039 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1687, allocations: 0 / 0.6039 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.1689, allocations: 39.95 kB / 0.6039 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.1691, allocations: 4 kB / 0.6039 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.1694, allocations: 124.5 kB / 0.604 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.1696, allocations: 0.677 MB / 0.6047 GB, free: 64 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.059e-05/0.1697, allocations: 0 / 0.6047 GB, free: 64 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.1697, allocations: 11.44 kB / 0.6047 GB, free: 52 kB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1697, allocations: 4 kB / 0.6047 GB, free: 48 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2797/0.4494, allocations: 1.069 MB / 0.6057 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/0.4496, allocations: 247.5 kB / 0.606 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.083, allocations: 5.938 kB / 0.606 GB, free: 39.96 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)