Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.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.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck",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.001156/0.001156, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.00121, allocations: 196.6 kB / 16.53 MB, free: 6.699 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.398 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 0.9428/0.9428, allocations: 143 MB / 433.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001529, allocations: 63.91 kB / 0.5143 GB, free: 11.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1491, allocations: 82.04 MB / 0.5944 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002494/0.1516, allocations: 1.263 MB / 0.5956 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003556/0.1552, allocations: 3.256 MB / 0.5988 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/0.1553, allocations: 0 / 0.5988 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.409e-05/0.1553, allocations: 3.938 kB / 0.5988 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.578e-05/0.1554, allocations: 7.938 kB / 0.5988 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.1559, allocations: 107.5 kB / 0.5989 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.955e-05/0.1559, allocations: 31.91 kB / 0.5989 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.156, allocations: 7.984 kB / 0.5989 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.9e-05/0.156, allocations: 15.94 kB / 0.599 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.209e-05/0.1561, allocations: 23.91 kB / 0.599 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.1561, allocations: 0 / 0.599 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.1563, allocations: 75.81 kB / 0.599 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.1563, allocations: 15.98 kB / 0.5991 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.1564, allocations: 15.92 kB / 0.5991 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.1565, allocations: 64.08 kB / 0.5991 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1565, allocations: 0 / 0.5991 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.468e-06/0.1566, allocations: 7.984 kB / 0.5991 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.1566, allocations: 3.938 kB / 0.5991 GB, free: 4.625 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003546/0.1569, allocations: 343.5 kB / 0.5995 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.157, allocations: 8.031 kB / 0.5995 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.395e-05/0.157, allocations: 42.69 kB / 0.5995 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.119e-05/0.1571, allocations: 12.92 kB / 0.5995 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.1572, allocations: 164.3 kB / 0.5997 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1572, allocations: 384 / 0.5997 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.1573, allocations: 8.375 kB / 0.5997 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.1574, allocations: 53.61 kB / 0.5998 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1574, allocations: 0 / 0.5998 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1574, allocations: 4 kB / 0.5998 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1574, allocations: 0 / 0.5998 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.931e-05/0.1575, allocations: 23.91 kB / 0.5998 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001513/0.1576, allocations: 177.5 kB / 0.5999 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.971e-05/0.1577, allocations: 50.56 kB / 0.6 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.816e-05/0.1578, allocations: 16.84 kB / 0.6 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006109/0.1584, allocations: 0.5871 MB / 0.6006 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.1584, allocations: 38.56 kB / 0.6006 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1584, allocations: 0 / 0.6006 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005096/0.1589, allocations: 306.2 kB / 0.6009 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.159, allocations: 51.41 kB / 0.601 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.277e-05/0.159, allocations: 105.7 kB / 0.6011 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1591, allocations: 33.7 kB / 0.6011 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.1591, allocations: 80.14 kB / 0.6012 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.1591, allocations: 39.61 kB / 0.6012 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.1592, allocations: 25.72 kB / 0.6012 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.993e-05/0.1593, allocations: 314.8 kB / 0.6015 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.534e-05/0.1593, allocations: 12 kB / 0.6015 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.536e-05/0.1593, allocations: 49.14 kB / 0.6016 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.282e-05/0.1594, allocations: 73.09 kB / 0.6017 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1594, allocations: 7.922 kB / 0.6017 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001219/0.1596, allocations: 93.47 kB / 0.6018 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1596, allocations: 6.781 kB / 0.6018 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1596, allocations: 8.422 kB / 0.6018 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1596, allocations: 4 kB / 0.6018 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.986e-05/0.1597, allocations: 19.94 kB / 0.6018 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1597, allocations: 4 kB / 0.6018 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.795e-05/0.1597, allocations: 11.94 kB / 0.6018 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.1597, allocations: 4 kB / 0.6018 GB, free: 1.473 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.297e-05/0.1598, allocations: 121.8 kB / 0.6019 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.1599, allocations: 4 kB / 0.6019 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.1599, allocations: 15.91 kB / 0.602 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1599, allocations: 0 / 0.602 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1599, allocations: 0 / 0.602 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1599, allocations: 3.938 kB / 0.602 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.1601, allocations: 169.7 kB / 0.6021 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1601, allocations: 288 / 0.6021 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.88e-05/0.1602, allocations: 19.98 kB / 0.6021 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1602, allocations: 0 / 0.6021 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.515e-06/0.1602, allocations: 4 kB / 0.6021 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1602, allocations: 0 / 0.6021 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1602, allocations: 0 / 0.6021 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.1604, allocations: 183.3 kB / 0.6023 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.1605, allocations: 81.14 kB / 0.6024 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.1605, allocations: 4 kB / 0.6024 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.412e-05/0.1606, allocations: 0 / 0.6024 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.1606, allocations: 19.91 kB / 0.6024 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.1606, allocations: 0 / 0.6024 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.444e-05/0.1607, allocations: 79.28 kB / 0.6025 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1607, allocations: 4 kB / 0.6025 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002232/0.1609, allocations: 12 kB / 0.6025 GB, free: 0.6719 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2058/0.3667, allocations: 0.7006 MB / 0.6032 GB, free: 44.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.3668, allocations: 44.84 kB / 0.6032 GB, free: 44.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3669, allocations: 2.344 kB / 0.6032 GB, free: 44.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.567e-05/0.3669, allocations: 14.78 kB / 0.6032 GB, free: 44.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.3672, allocations: 12.69 kB / 0.6033 GB, free: 44.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.3683, allocations: 1.524 MB / 0.6047 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.764e-05/0.3684, allocations: 0.684 MB / 0.6054 GB, free: 42.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.173e-05/0.3685, allocations: 7.922 kB / 0.6054 GB, free: 42.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.3685, allocations: 14.16 kB / 0.6054 GB, free: 42.55 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.3685, allocations: 0 / 0.6054 GB, free: 42.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.295/1.663, allocations: 1.642 MB / 0.607 GB, free: 42.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.753/10.42, allocations: 10.36 kB / 0.6071 GB, free: 42.22 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)