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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.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.005207/0.005207, allocations: 99.72 kB / 15.73 MB, free: 6.008 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.001245/0.001245, allocations: 190.8 kB / 16.67 MB, free: 5.926 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9158/0.9157, allocations: 143.3 MB / 433.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002682/0.002682, allocations: 65.34 kB / 0.5953 GB, free: 12.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.236, allocations: 82.03 MB / 0.6754 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.003187/0.2392, allocations: 1.264 MB / 0.6766 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003871/0.2431, allocations: 2.503 MB / 0.6791 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.862e-05/0.2432, allocations: 3.938 kB / 0.6791 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.106e-05/0.2432, allocations: 11.94 kB / 0.6791 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.413e-05/0.2433, allocations: 3.984 kB / 0.6791 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007663/0.2441, allocations: 131.3 kB / 0.6792 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.945e-05/0.2442, allocations: 31.92 kB / 0.6793 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.2443, allocations: 4 kB / 0.6793 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.615e-05/0.2443, allocations: 19.97 kB / 0.6793 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.905e-05/0.2444, allocations: 15.92 kB / 0.6793 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.2444, allocations: 4 kB / 0.6793 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003931/0.2448, allocations: 123.7 kB / 0.6794 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.2449, allocations: 4 kB / 0.6794 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.2449, allocations: 19.92 kB / 0.6794 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.2452, allocations: 83.98 kB / 0.6795 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2452, allocations: 4 kB / 0.6795 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2452, allocations: 0 / 0.6795 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.2452, allocations: 0 / 0.6795 GB, free: 6.398 MB / 0.5137 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.0005359/0.2458, allocations: 351.3 kB / 0.6799 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.2458, allocations: 16.03 kB / 0.6799 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.2459, allocations: 34.73 kB / 0.6799 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/0.2461, allocations: 12.94 kB / 0.6799 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.2463, allocations: 164.4 kB / 0.6801 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.2463, allocations: 12.31 kB / 0.6801 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.2463, allocations: 8.375 kB / 0.6801 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.2465, allocations: 64.2 kB / 0.6802 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.2465, allocations: 4 kB / 0.6802 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.2466, allocations: 4 kB / 0.6802 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.2466, allocations: 4 kB / 0.6802 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.634e-05/0.2466, allocations: 11.92 kB / 0.6802 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007108/0.2473, allocations: 470.8 kB / 0.6806 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.2475, allocations: 75.72 kB / 0.6807 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.2476, allocations: 22.64 kB / 0.6807 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.2476, allocations: 3.938 kB / 0.6807 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.2476, allocations: 38.56 kB / 0.6808 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.954e-06/0.2476, allocations: 0 / 0.6808 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0007226/0.2484, allocations: 302.3 kB / 0.681 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.2484, allocations: 102.8 kB / 0.6811 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.879e-05/0.2485, allocations: 106.2 kB / 0.6812 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.2486, allocations: 29.95 kB / 0.6813 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.2486, allocations: 92.03 kB / 0.6814 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.2487, allocations: 31.78 kB / 0.6814 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.2487, allocations: 25.72 kB / 0.6814 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2489, allocations: 318.8 kB / 0.6817 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.261e-05/0.2489, allocations: 15.94 kB / 0.6817 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-05/0.249, allocations: 61.08 kB / 0.6818 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.2491, allocations: 69.08 kB / 0.6819 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2492, allocations: 7.938 kB / 0.6819 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001576/0.2493, allocations: 89.59 kB / 0.682 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.2494, allocations: 7.984 kB / 0.682 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.2494, allocations: 4 kB / 0.682 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.2494, allocations: 0 / 0.682 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.89e-05/0.2495, allocations: 20 kB / 0.682 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.2495, allocations: 7.938 kB / 0.682 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.661e-05/0.2496, allocations: 3.953 kB / 0.682 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.2496, allocations: 7.938 kB / 0.682 GB, free: 3.48 MB / 0.5137 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 9.884e-05/0.2497, allocations: 121.8 kB / 0.6821 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.894e-05/0.2497, allocations: 8.094 kB / 0.6821 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.272e-05/0.2498, allocations: 7.562 kB / 0.6821 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2498, allocations: 4 kB / 0.6821 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.2498, allocations: 0 / 0.6821 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2498, allocations: 0 / 0.6821 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.2502, allocations: 177.6 kB / 0.6823 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.2502, allocations: 4 kB / 0.6823 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.7e-05/0.2503, allocations: 19.92 kB / 0.6823 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2503, allocations: 0 / 0.6823 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.2503, allocations: 8.062 kB / 0.6823 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2503, allocations: 4 kB / 0.6823 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2503, allocations: 0 / 0.6823 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.2506, allocations: 334 kB / 0.6827 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/0.2507, allocations: 81.11 kB / 0.6827 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.2507, allocations: 0 / 0.6827 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.2509, allocations: 8.031 kB / 0.6827 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.251, allocations: 11.88 kB / 0.6828 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.251, allocations: 8 kB / 0.6828 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.473e-05/0.251, allocations: 79.66 kB / 0.6828 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.251, allocations: 0 / 0.6828 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003213/0.2514, allocations: 15.98 kB / 0.6829 GB, free: 2.516 MB / 0.5137 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.0006706/0.252, allocations: 0.8637 MB / 0.6837 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.2522, allocations: 48.06 kB / 0.6837 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/0.2522, allocations: 3.938 kB / 0.6837 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.83e-05/0.2523, allocations: 16.19 kB / 0.6838 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.2528, allocations: 21.67 kB / 0.6838 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.2546, allocations: 1.692 MB / 0.6854 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.255, allocations: 0.6867 MB / 0.6861 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.296e-05/0.2551, allocations: 15.92 kB / 0.6861 GB, free: 15 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/0.2551, allocations: 11.44 kB / 0.6861 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of SimCode: time 2.023e-06/0.2551, allocations: 0 / 0.6861 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.2809, allocations: 1.728 MB / 0.6878 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.784/8.065, allocations: 12.2 kB / 0.6878 GB, free: 13.43 MB / 0.5294 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)