Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",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.001159/0.001159, allocations: 108 kB / 15.6 MB, free: 132 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.001179/0.001179, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.18/1.18, 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.8751/0.8751, allocations: 143 MB / 433.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 63.89 kB / 0.5143 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1321, allocations: 82.05 MB / 0.5944 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001977/0.1341, allocations: 1.26 MB / 0.5956 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002501/0.1366, allocations: 2.499 MB / 0.5981 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.107e-05/0.1366, allocations: 0 / 0.5981 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.1367, allocations: 3.938 kB / 0.5981 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.419e-05/0.1367, allocations: 3.938 kB / 0.5981 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.1372, allocations: 131.4 kB / 0.5982 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.325e-05/0.1372, allocations: 35.91 kB / 0.5982 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.331e-05/0.1373, allocations: 4 kB / 0.5982 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.883e-05/0.1373, allocations: 19.92 kB / 0.5983 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.634e-05/0.1374, allocations: 15.92 kB / 0.5983 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.1374, allocations: 4 kB / 0.5983 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002719/0.1377, allocations: 115.8 kB / 0.5984 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.1377, allocations: 11.94 kB / 0.5984 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.1377, allocations: 19.91 kB / 0.5984 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.1379, allocations: 84.12 kB / 0.5985 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1379, allocations: 0 / 0.5985 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1379, allocations: 3.938 kB / 0.5985 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1379, allocations: 0 / 0.5985 GB, free: 5.227 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.0003271/0.1383, allocations: 351.4 kB / 0.5988 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.1383, allocations: 8.625 kB / 0.5988 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.456e-05/0.1383, allocations: 38.75 kB / 0.5989 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.1385, allocations: 8.938 kB / 0.5989 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.631e-05/0.1386, allocations: 168.3 kB / 0.5991 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.1386, allocations: 8.375 kB / 0.5991 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.1387, allocations: 4.375 kB / 0.5991 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.1388, allocations: 76.19 kB / 0.5991 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.1388, allocations: 0 / 0.5991 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1388, allocations: 0 / 0.5991 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1388, allocations: 0 / 0.5991 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.694e-05/0.1388, allocations: 15.94 kB / 0.5992 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.1393, allocations: 470.8 kB / 0.5996 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.1395, allocations: 71.66 kB / 0.5997 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.1395, allocations: 26.64 kB / 0.5997 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.1395, allocations: 4.094 kB / 0.5997 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.1395, allocations: 38.55 kB / 0.5997 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1395, allocations: 0 / 0.5997 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.00051/0.1401, allocations: 302.3 kB / 0.6 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.1401, allocations: 110.8 kB / 0.6001 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.667e-05/0.1402, allocations: 97.86 kB / 0.6002 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.1402, allocations: 25.7 kB / 0.6002 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.1402, allocations: 91.98 kB / 0.6003 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.1402, allocations: 31.55 kB / 0.6004 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.1403, allocations: 21.72 kB / 0.6004 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.857e-05/0.1404, allocations: 330.8 kB / 0.6007 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.636e-05/0.1404, allocations: 19.88 kB / 0.6007 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.262e-05/0.1404, allocations: 53.08 kB / 0.6008 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.479e-05/0.1405, allocations: 73.08 kB / 0.6008 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1405, allocations: 0 / 0.6008 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001167/0.1407, allocations: 97.45 kB / 0.6009 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.1407, allocations: 8 kB / 0.6009 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1407, allocations: 0 / 0.6009 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1407, allocations: 4 kB / 0.6009 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.07e-05/0.1408, allocations: 20.06 kB / 0.601 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1408, allocations: 7.984 kB / 0.601 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.573e-05/0.1408, allocations: 8.062 kB / 0.601 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.1408, allocations: 11.94 kB / 0.601 GB, free: 2.305 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.138e-05/0.1409, allocations: 113.8 kB / 0.6011 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.141, allocations: 0 / 0.6011 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.141, allocations: 11.56 kB / 0.6011 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.141, allocations: 0 / 0.6011 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.141, allocations: 0 / 0.6011 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.141, allocations: 4 kB / 0.6011 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.1413, allocations: 177.6 kB / 0.6013 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1413, allocations: 0 / 0.6013 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.94e-05/0.1414, allocations: 20.53 kB / 0.6013 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1414, allocations: 4 kB / 0.6013 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1414, allocations: 4 kB / 0.6013 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1414, allocations: 0 / 0.6013 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.123e-06/0.1414, allocations: 4 kB / 0.6013 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.1416, allocations: 337.8 kB / 0.6016 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.1417, allocations: 81.11 kB / 0.6017 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.1417, allocations: 12.12 kB / 0.6017 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.1419, allocations: 0 / 0.6017 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.1419, allocations: 11.92 kB / 0.6017 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.1419, allocations: 4 kB / 0.6017 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.352e-05/0.1419, allocations: 87.2 kB / 0.6018 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1419, allocations: 0 / 0.6018 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002897/0.1422, allocations: 16 kB / 0.6018 GB, free: 1.344 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0003766/0.1426, allocations: 0.8632 MB / 0.6027 GB, free: 460 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.1427, allocations: 47.97 kB / 0.6027 GB, free: 412 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1427, allocations: 4 kB / 0.6027 GB, free: 408 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.531e-05/0.1428, allocations: 19.92 kB / 0.6027 GB, free: 388 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.1431, allocations: 11.94 kB / 0.6028 GB, free: 376 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1863/0.3294, allocations: 1.677 MB / 0.6044 GB, free: 42.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.375e-05/0.3295, allocations: 0.6831 MB / 0.6051 GB, free: 41.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.62e-05/0.3296, allocations: 8.594 kB / 0.6051 GB, free: 41.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.3296, allocations: 15.52 kB / 0.6051 GB, free: 41.89 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.3296, allocations: 0 / 0.6051 GB, free: 41.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2473/0.577, allocations: 1.688 MB / 0.6067 GB, free: 41.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.16, allocations: 11.75 kB / 0.6067 GB, free: 41.63 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)