Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_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.0009336/0.0009334, allocations: 90.75 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.001125/0.001125, 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.367/1.367, allocations: 223.2 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.479/2.479, allocations: 390.4 MB / 0.6655 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003446, allocations: 11.98 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8566/0.8569, allocations: 142.3 MB / 0.9538 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001285/0.8582, allocations: 0.9893 MB / 0.9548 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00258/0.8608, allocations: 2.335 MB / 0.9571 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.724e-05/0.8609, allocations: 4 kB / 0.9571 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.8609, allocations: 1.156 kB / 0.9571 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.638e-05/0.861, allocations: 0 / 0.9571 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.8614, allocations: 108.2 kB / 0.9572 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.174e-05/0.8615, allocations: 26.92 kB / 0.9572 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.8615, allocations: 1 kB / 0.9572 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.403e-05/0.8616, allocations: 21.33 kB / 0.9572 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.166e-05/0.8616, allocations: 22.56 kB / 0.9573 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.8617, allocations: 2.188 kB / 0.9573 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002509/0.8619, allocations: 85.3 kB / 0.9574 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.862, allocations: 9.891 kB / 0.9574 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.862, allocations: 29.7 kB / 0.9574 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.8621, allocations: 53.72 kB / 0.9574 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8621, allocations: 0 / 0.9574 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8621, allocations: 3.938 kB / 0.9574 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.8622, allocations: 1.312 kB / 0.9574 GB, free: 5.246 MB / 0.7169 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.0003036/0.8625, allocations: 347 kB / 0.9578 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.8625, allocations: 10.25 kB / 0.9578 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3e-05/0.8625, allocations: 39.53 kB / 0.9578 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.8628, allocations: 13.02 kB / 0.9578 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.842e-05/0.8628, allocations: 160.4 kB / 0.958 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.8629, allocations: 1.031 kB / 0.958 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.8629, allocations: 8.188 kB / 0.958 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.863, allocations: 68.41 kB / 0.9581 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.8631, allocations: 1.219 kB / 0.9581 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.8631, allocations: 7.953 kB / 0.9581 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.8631, allocations: 1.562 kB / 0.9581 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.239e-05/0.8631, allocations: 14.73 kB / 0.9581 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.8637, allocations: 474.6 kB / 0.9585 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.8638, allocations: 71.09 kB / 0.9586 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.8638, allocations: 30.02 kB / 0.9586 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.8638, allocations: 1.125 kB / 0.9586 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.8639, allocations: 36.88 kB / 0.9587 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.8639, allocations: 0 / 0.9587 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0005545/0.8644, allocations: 298.8 kB / 0.959 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.8645, allocations: 104 kB / 0.9591 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.072e-05/0.8645, allocations: 109.5 kB / 0.9592 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.8646, allocations: 30.83 kB / 0.9592 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.662e-05/0.8646, allocations: 81.27 kB / 0.9593 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.8646, allocations: 35.09 kB / 0.9593 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.8646, allocations: 5.531 kB / 0.9593 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.244e-05/0.8647, allocations: 316 kB / 0.9596 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.591e-05/0.8647, allocations: 11.75 kB / 0.9596 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.989e-05/0.8648, allocations: 51.52 kB / 0.9597 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.752e-05/0.8648, allocations: 20.03 kB / 0.9597 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.8648, allocations: 0 / 0.9597 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000115/0.8649, allocations: 93.53 kB / 0.9598 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.8649, allocations: 8.188 kB / 0.9598 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.865, allocations: 5.719 kB / 0.9598 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.865, allocations: 5.344 kB / 0.9598 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/0.8651, allocations: 28.14 kB / 0.9598 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.8651, allocations: 3.094 kB / 0.9598 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.595e-05/0.8651, allocations: 5.344 kB / 0.9598 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.8651, allocations: 4.438 kB / 0.9598 GB, free: 2.719 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.805e-05/0.8652, allocations: 112.9 kB / 0.9599 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.805e-05/0.8653, allocations: 6.891 kB / 0.9599 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.8653, allocations: 25.38 kB / 0.96 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.8653, allocations: 1.281 kB / 0.96 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.8653, allocations: 1 kB / 0.96 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.8653, allocations: 1.312 kB / 0.96 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.8656, allocations: 178.9 kB / 0.9601 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8656, allocations: 0 / 0.9601 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.143e-05/0.8657, allocations: 13.88 kB / 0.9602 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.8657, allocations: 9.281 kB / 0.9602 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.8657, allocations: 1.656 kB / 0.9602 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.8658, allocations: 5.328 kB / 0.9602 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.8658, allocations: 5.188 kB / 0.9602 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.8659, allocations: 327.2 kB / 0.9605 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.866, allocations: 85.11 kB / 0.9606 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.866, allocations: 4.953 kB / 0.9606 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.8662, allocations: 2.844 kB / 0.9606 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.8662, allocations: 15.02 kB / 0.9606 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.8662, allocations: 2.906 kB / 0.9606 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.194e-05/0.8662, allocations: 76.75 kB / 0.9607 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8663, allocations: 1.625 kB / 0.9607 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003053/0.8666, allocations: 13.12 kB / 0.9607 GB, free: 1.852 MB / 0.7169 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 (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.0003231/0.8669, allocations: 0.8685 MB / 0.9615 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001093/0.867, allocations: 41.56 kB / 0.9616 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.867, allocations: 0 / 0.9616 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.692e-05/0.8671, allocations: 24.3 kB / 0.9616 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.8675, allocations: 5.625 kB / 0.9616 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009524/0.8684, allocations: 0.6976 MB / 0.9623 GB, free: 336 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.8687, allocations: 0.6825 MB / 0.9629 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.831e-05/0.8688, allocations: 19.94 kB / 0.963 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.8688, allocations: 15.62 kB / 0.963 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.8688, allocations: 0 / 0.963 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01233/0.8812, allocations: 1.471 MB / 0.9644 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.8814, allocations: 227.7 kB / 0.9646 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.608, allocations: 0 / 0.9646 GB, free: 14.74 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat does not exist to compare? outputFormat=mat