Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 116.8 kB / 17.17 MB, free: 6.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 214.4 kB / 20.13 MB, free: 3.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.405/1.405, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002356/0.002356, allocations: 287.5 kB / 309.8 MB, free: 3.477 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.026/1.026, allocations: 180.6 MB / 0.5338 GB, free: 12.31 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002984/0.002984, allocations: 108.2 kB / 0.7347 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4713/0.4743, allocations: 95.34 MB / 0.8278 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001996/0.4763, allocations: 1.292 MB / 0.829 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002243/0.4785, allocations: 2.569 MB / 0.8315 GB, free: 284 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.538e-05/0.4785, allocations: 0 / 0.8315 GB, free: 284 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.819e-05/0.4786, allocations: 1.406 kB / 0.8315 GB, free: 284 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.893e-05/0.4786, allocations: 7.266 kB / 0.8315 GB, free: 280 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004354/0.479, allocations: 135.1 kB / 0.8317 GB, free: 204 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.509e-05/0.4791, allocations: 35.59 kB / 0.8317 GB, free: 192 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.249e-05/0.4791, allocations: 11.45 kB / 0.8317 GB, free: 184 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.533e-05/0.4792, allocations: 17.47 kB / 0.8317 GB, free: 180 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.165e-05/0.4792, allocations: 17.17 kB / 0.8317 GB, free: 172 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.4792, allocations: 6.609 kB / 0.8317 GB, free: 168 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002466/0.4795, allocations: 111.9 kB / 0.8319 GB, free: 128 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.4795, allocations: 12.53 kB / 0.8319 GB, free: 120 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.4795, allocations: 13.31 kB / 0.8319 GB, free: 116 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.4797, allocations: 92.78 kB / 0.832 GB, free: 84 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4797, allocations: 0.6562 kB / 0.832 GB, free: 84 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4797, allocations: 0 / 0.832 GB, free: 84 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.4797, allocations: 0 / 0.832 GB, free: 84 kB / 0.5762 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.0003992/0.4801, allocations: 352.1 kB / 0.8323 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.4801, allocations: 9.219 kB / 0.8323 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.081e-05/0.4801, allocations: 192 / 0.8323 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.189e-05/0.4802, allocations: 34.31 kB / 0.8323 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.4804, allocations: 14.52 kB / 0.8324 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.4805, allocations: 168.9 kB / 0.8325 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.4805, allocations: 7 kB / 0.8325 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.4805, allocations: 7.453 kB / 0.8325 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.4806, allocations: 75.98 kB / 0.8326 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.4807, allocations: 0 / 0.8326 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.4807, allocations: 3.938 kB / 0.8326 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4807, allocations: 4.438 kB / 0.8326 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.951e-05/0.4807, allocations: 19.06 kB / 0.8326 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.4813, allocations: 460.6 kB / 0.8331 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.4814, allocations: 75.52 kB / 0.8331 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.117e-05/0.4815, allocations: 18.67 kB / 0.8332 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.4815, allocations: 0 / 0.8332 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.4815, allocations: 41.67 kB / 0.8332 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.4815, allocations: 3.938 kB / 0.8332 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7): time 0.0005935/0.4821, allocations: 310.1 kB / 0.8335 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/0.4822, allocations: 107.3 kB / 0.8336 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.905e-05/0.4822, allocations: 98.41 kB / 0.8337 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.4822, allocations: 32.33 kB / 0.8337 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.4823, allocations: 84.7 kB / 0.8338 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.4823, allocations: 29.23 kB / 0.8338 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.4824, allocations: 31.25 kB / 0.8339 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4825, allocations: 320.6 kB / 0.8342 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.841e-05/0.4825, allocations: 11.58 kB / 0.8342 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-05/0.4826, allocations: 48.73 kB / 0.8342 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.855e-05/0.4827, allocations: 76.33 kB / 0.8343 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4827, allocations: 0 / 0.8343 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001324/0.4828, allocations: 98.2 kB / 0.8344 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.4828, allocations: 7.438 kB / 0.8344 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.4828, allocations: 3.031 kB / 0.8344 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.4828, allocations: 4.125 kB / 0.8344 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.16e-05/0.4829, allocations: 18.83 kB / 0.8344 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.4829, allocations: 3.422 kB / 0.8344 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.4829, allocations: 14.72 kB / 0.8344 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.483, allocations: 3.328 kB / 0.8344 GB, free: 13.55 MB / 0.5919 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 8.563e-05/0.483, allocations: 122 kB / 0.8346 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.4831, allocations: 2.75 kB / 0.8346 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.325e-05/0.4831, allocations: 10.23 kB / 0.8346 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4831, allocations: 1.281 kB / 0.8346 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4831, allocations: 6.812 kB / 0.8346 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.4831, allocations: 4.547 kB / 0.8346 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.4835, allocations: 177.7 kB / 0.8348 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4835, allocations: 0.5156 kB / 0.8348 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.437e-05/0.4836, allocations: 19.53 kB / 0.8348 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4836, allocations: 1.281 kB / 0.8348 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.4836, allocations: 7.453 kB / 0.8348 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.4836, allocations: 0 / 0.8348 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4836, allocations: 5.5 kB / 0.8348 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.4838, allocations: 329.3 kB / 0.8351 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.315e-05/0.4839, allocations: 89.69 kB / 0.8352 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.4839, allocations: 7.109 kB / 0.8352 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.4841, allocations: 2.203 kB / 0.8352 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.4841, allocations: 8.375 kB / 0.8352 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.4841, allocations: 3.609 kB / 0.8352 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.468e-05/0.4841, allocations: 91.84 kB / 0.8353 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.4841, allocations: 0 / 0.8353 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003044/0.4845, allocations: 14.03 kB / 0.8353 GB, free: 12.7 MB / 0.5919 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.0005172/0.485, allocations: 0.8593 MB / 0.8362 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.4851, allocations: 46.88 kB / 0.8362 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4851, allocations: 0 / 0.8362 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.52e-05/0.4851, allocations: 16.52 kB / 0.8362 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.4855, allocations: 18.72 kB / 0.8362 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.4871, allocations: 1.694 MB / 0.8379 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.4874, allocations: 0.6823 MB / 0.8386 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.457e-05/0.4874, allocations: 8.828 kB / 0.8386 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.4875, allocations: 15.92 kB / 0.8386 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.4875, allocations: 1.062 kB / 0.8386 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.5057, allocations: 1.787 MB / 0.8403 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.364, allocations: 17.58 kB / 0.8403 GB, free: 9.133 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.203752335975878] Failed to read output from testmodel.py, exit status != 0: 8.487430091015995 8.504486328 8.021820662 Calling exit ...