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.001337/0.001337, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001616/0.001616, allocations: 193.5 kB / 16.25 MB, free: 6.629 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.224/1.224, allocations: 222.9 MB / 239.9 MB, free: 4.434 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.8754/0.8754, allocations: 143.1 MB / 433.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 63.91 kB / 0.5138 GB, free: 11.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1342, allocations: 82.04 MB / 0.5939 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002008/0.1363, allocations: 1.325 MB / 0.5952 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002836/0.1391, allocations: 3.225 MB / 0.5983 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.661e-05/0.1392, allocations: 0 / 0.5983 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.1392, allocations: 0 / 0.5983 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.115e-05/0.1392, allocations: 3.984 kB / 0.5983 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.1396, allocations: 103.6 kB / 0.5984 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.419e-05/0.1397, allocations: 39.8 kB / 0.5985 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.816e-05/0.1397, allocations: 7.984 kB / 0.5985 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.429e-05/0.1398, allocations: 11.98 kB / 0.5985 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.994e-05/0.1398, allocations: 23.92 kB / 0.5985 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.1398, allocations: 0 / 0.5985 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.14, allocations: 79.8 kB / 0.5986 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.14, allocations: 4 kB / 0.5986 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.1401, allocations: 23.91 kB / 0.5986 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.1402, allocations: 72.02 kB / 0.5987 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1402, allocations: 0 / 0.5987 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1402, allocations: 3.938 kB / 0.5987 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.1403, allocations: 0 / 0.5987 GB, free: 4.852 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.0003195/0.1406, allocations: 351.5 kB / 0.599 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1406, allocations: 12.03 kB / 0.599 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.8e-05/0.1406, allocations: 34.75 kB / 0.5991 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.354e-05/0.1407, allocations: 4.938 kB / 0.5991 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.175e-05/0.1408, allocations: 168.3 kB / 0.5992 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.1408, allocations: 4.375 kB / 0.5992 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.1409, allocations: 12.36 kB / 0.5993 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.141, allocations: 57.55 kB / 0.5993 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.141, allocations: 0 / 0.5993 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.141, allocations: 4 kB / 0.5993 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.141, allocations: 0 / 0.5993 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.775e-05/0.1411, allocations: 19.98 kB / 0.5993 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.1412, allocations: 169.5 kB / 0.5995 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.436e-05/0.1413, allocations: 50.55 kB / 0.5995 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.532e-05/0.1413, allocations: 16.86 kB / 0.5996 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005647/0.1419, allocations: 0.5987 MB / 0.6001 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.1419, allocations: 34.56 kB / 0.6002 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1419, allocations: 0 / 0.6002 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004766/0.1424, allocations: 298.6 kB / 0.6005 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.1424, allocations: 51.41 kB / 0.6005 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.62e-05/0.1425, allocations: 109.7 kB / 0.6006 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.1425, allocations: 29.7 kB / 0.6006 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.986e-05/0.1425, allocations: 80.14 kB / 0.6007 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.1426, allocations: 27.56 kB / 0.6008 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.1426, allocations: 29.7 kB / 0.6008 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.797e-05/0.1427, allocations: 314.8 kB / 0.6011 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.485e-05/0.1427, allocations: 15.98 kB / 0.6011 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.701e-05/0.1428, allocations: 61.14 kB / 0.6012 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.996e-05/0.1428, allocations: 69.09 kB / 0.6012 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1428, allocations: 0 / 0.6012 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001137/0.143, allocations: 97.45 kB / 0.6013 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.143, allocations: 8 kB / 0.6013 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.143, allocations: 0 / 0.6013 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.143, allocations: 4 kB / 0.6013 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.95e-05/0.1431, allocations: 19.98 kB / 0.6013 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1431, allocations: 7.875 kB / 0.6013 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.639e-05/0.1431, allocations: 12.22 kB / 0.6014 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.1431, allocations: 4 kB / 0.6014 GB, free: 1.699 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 6.143e-05/0.1432, allocations: 118 kB / 0.6015 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.1432, allocations: 3.938 kB / 0.6015 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.1433, allocations: 11.95 kB / 0.6015 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1433, allocations: 7.984 kB / 0.6015 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.1433, allocations: 0 / 0.6015 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1433, allocations: 3.938 kB / 0.6015 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.1435, allocations: 173.7 kB / 0.6017 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1435, allocations: 0 / 0.6017 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.939e-05/0.1436, allocations: 15.94 kB / 0.6017 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1436, allocations: 0 / 0.6017 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.1436, allocations: 12 kB / 0.6017 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1436, allocations: 0 / 0.6017 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1436, allocations: 0 / 0.6017 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.1438, allocations: 171.4 kB / 0.6019 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.1438, allocations: 85.14 kB / 0.6019 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.1438, allocations: 0 / 0.6019 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.911e-05/0.1439, allocations: 4 kB / 0.6019 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/0.144, allocations: 11.94 kB / 0.602 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.144, allocations: 7.984 kB / 0.602 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.564e-05/0.144, allocations: 75.28 kB / 0.602 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.144, allocations: 0 / 0.602 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002226/0.1442, allocations: 16 kB / 0.6021 GB, free: 0.9023 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.0003424/0.1446, allocations: 0.7164 MB / 0.6028 GB, free: 160 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.338e-05/0.1447, allocations: 39.97 kB / 0.6028 GB, free: 120 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1447, allocations: 0 / 0.6028 GB, free: 120 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.364e-05/0.1447, allocations: 23.92 kB / 0.6028 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.145, allocations: 14.28 kB / 0.6028 GB, free: 84 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1978/0.3427, allocations: 1.525 MB / 0.6043 GB, free: 43.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.45e-05/0.3428, allocations: 0.6838 MB / 0.605 GB, free: 42.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.257e-05/0.3429, allocations: 9.125 kB / 0.605 GB, free: 42.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.3429, allocations: 17.55 kB / 0.605 GB, free: 42.57 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.3429, allocations: 0 / 0.605 GB, free: 42.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2869/0.6298, allocations: 1.554 MB / 0.6065 GB, free: 42.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001338/0.63, allocations: 197.9 kB / 0.6067 GB, free: 42.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.476/2.106, allocations: 0 / 0.6067 GB, free: 42.11 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)