Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_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.000955/0.0009553, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001124/0.001124, allocations: 172.7 kB / 15.95 MB, free: 208 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.388/1.388, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9932/0.9932, allocations: 143.4 MB / 434.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003605, allocations: 12 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1666, allocations: 83.42 MB / 0.5975 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.001406/0.168, allocations: 1.147 MB / 0.5987 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002375/0.1683, allocations: 96.56 kB / 0.5988 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.552e-05/0.1683, allocations: 0 / 0.5988 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.233e-05/0.1683, allocations: 0 / 0.5988 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.397e-05/0.1684, allocations: 3.938 kB / 0.5988 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.1686, allocations: 15.98 kB / 0.5988 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.818e-05/0.1686, allocations: 23.91 kB / 0.5988 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.052e-05/0.1687, allocations: 4 kB / 0.5988 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.746e-05/0.1687, allocations: 15.92 kB / 0.5988 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.33e-05/0.1688, allocations: 4 kB / 0.5988 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.1688, allocations: 0 / 0.5988 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.128e-05/0.1689, allocations: 19.98 kB / 0.5988 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.032e-05/0.1689, allocations: 7.922 kB / 0.5988 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.1689, allocations: 29.7 kB / 0.5989 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.4e-05/0.169, allocations: 15.97 kB / 0.5989 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.169, allocations: 0 / 0.5989 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.169, allocations: 0 / 0.5989 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.169, allocations: 0 / 0.5989 GB, free: 6.301 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.0003983/0.1694, allocations: 355.5 kB / 0.5992 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1694, allocations: 8.031 kB / 0.5992 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.1695, allocations: 34.56 kB / 0.5993 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.1696, allocations: 19.97 kB / 0.5993 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.1698, allocations: 167 kB / 0.5994 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1698, allocations: 0 / 0.5994 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.1698, allocations: 4 kB / 0.5994 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.17, allocations: 69.61 kB / 0.5995 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.17, allocations: 3.984 kB / 0.5995 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.17, allocations: 0 / 0.5995 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.17, allocations: 7.938 kB / 0.5995 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.1702, allocations: 63.95 kB / 0.5996 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.1706, allocations: 268.8 kB / 0.5998 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.1708, allocations: 58.55 kB / 0.5999 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.1709, allocations: 36.84 kB / 0.5999 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.1709, allocations: 0 / 0.5999 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.171, allocations: 42.55 kB / 0.6 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.171, allocations: 0 / 0.6 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003831/0.1713, allocations: 121.7 kB / 0.6001 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.1714, allocations: 51.41 kB / 0.6001 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.807e-05/0.1715, allocations: 105.8 kB / 0.6002 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.1715, allocations: 25.7 kB / 0.6003 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.1716, allocations: 88.12 kB / 0.6004 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.1716, allocations: 11.84 kB / 0.6004 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.1716, allocations: 7.969 kB / 0.6004 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1717, allocations: 314.8 kB / 0.6007 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.981e-05/0.1718, allocations: 35.91 kB / 0.6007 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.684e-05/0.1719, allocations: 27.98 kB / 0.6007 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.247e-05/0.172, allocations: 31.97 kB / 0.6008 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.172, allocations: 0 / 0.6008 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002265/0.1722, allocations: 93.72 kB / 0.6009 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1723, allocations: 7.984 kB / 0.6009 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1723, allocations: 0 / 0.6009 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1723, allocations: 4 kB / 0.6009 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1724, allocations: 11.98 kB / 0.6009 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1724, allocations: 4.031 kB / 0.6009 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.992e-05/0.1725, allocations: 11.95 kB / 0.6009 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1725, allocations: 7.984 kB / 0.6009 GB, free: 4.016 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 (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 7.412e-05/0.1726, allocations: 109.8 kB / 0.601 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.1726, allocations: 3.906 kB / 0.601 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.1726, allocations: 11.47 kB / 0.601 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1726, allocations: 0 / 0.601 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1726, allocations: 4 kB / 0.601 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1726, allocations: 3.984 kB / 0.601 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.1728, allocations: 169.6 kB / 0.6012 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1728, allocations: 0 / 0.6012 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.568e-05/0.1729, allocations: 16.17 kB / 0.6012 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1729, allocations: 4 kB / 0.6012 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1729, allocations: 4 kB / 0.6012 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1729, allocations: 0 / 0.6012 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1729, allocations: 0 / 0.6012 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.1732, allocations: 195.5 kB / 0.6014 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.1733, allocations: 77.11 kB / 0.6015 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.1733, allocations: 4 kB / 0.6015 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.715e-05/0.1734, allocations: 15.98 kB / 0.6015 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.1734, allocations: 3.984 kB / 0.6015 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1734, allocations: 0 / 0.6015 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.848e-05/0.1735, allocations: 83.22 kB / 0.6016 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1735, allocations: 0 / 0.6016 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000211/0.1737, allocations: 8.031 kB / 0.6016 GB, free: 3.219 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 (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.0005596/0.1742, allocations: 0.728 MB / 0.6023 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002317/0.1745, allocations: 67.98 kB / 0.6024 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1745, allocations: 0 / 0.6024 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.1746, allocations: 35.91 kB / 0.6024 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.1749, allocations: 7.938 kB / 0.6024 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/0.1753, allocations: 162.5 kB / 0.6026 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.1756, allocations: 0.677 MB / 0.6032 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.089e-05/0.1756, allocations: 0 / 0.6032 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.1757, allocations: 11.42 kB / 0.6032 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1757, allocations: 4 kB / 0.6032 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01043/0.1861, allocations: 1.189 MB / 0.6044 GB, free: 396 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/0.1864, allocations: 193.2 kB / 0.6046 GB, free: 148 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/1.88, allocations: 0 / 0.6046 GB, free: 148 kB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) Environment - environmentSimulation: