Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IBPSA_latest_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.001826/0.001826, allocations: 96.03 kB / 15.68 MB, free: 488 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.002366/0.002366, allocations: 175.4 kB / 16.57 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 2.766/2.766, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.149/1.149, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005386/0.0005388, allocations: 8 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2795, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002207/0.2818, allocations: 0.961 MB / 0.5577 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00399/0.2858, allocations: 1.881 MB / 0.5595 GB, free: 8.844 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.317e-05/0.2859, allocations: 0 / 0.5595 GB, free: 8.844 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.286, allocations: 4 kB / 0.5595 GB, free: 8.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.519e-05/0.2861, allocations: 3.984 kB / 0.5595 GB, free: 8.836 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006516/0.2867, allocations: 107.7 kB / 0.5596 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.944e-05/0.2868, allocations: 27.95 kB / 0.5596 GB, free: 8.703 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.029e-05/0.2869, allocations: 0 / 0.5596 GB, free: 8.703 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.056e-05/0.287, allocations: 23.92 kB / 0.5597 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.2871, allocations: 19.91 kB / 0.5597 GB, free: 8.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.2871, allocations: 8 kB / 0.5597 GB, free: 8.652 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004397/0.2876, allocations: 107.8 kB / 0.5598 GB, free: 8.547 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.2876, allocations: 3.984 kB / 0.5598 GB, free: 8.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.493e-05/0.2877, allocations: 29.7 kB / 0.5598 GB, free: 8.508 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.2879, allocations: 48.16 kB / 0.5599 GB, free: 8.461 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2879, allocations: 3.938 kB / 0.5599 GB, free: 8.457 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2879, allocations: 0 / 0.5599 GB, free: 8.457 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.2879, allocations: 0 / 0.5599 GB, free: 8.457 MB / 430.1 MB 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.0007275/0.2887, allocations: 339.4 kB / 0.5602 GB, free: 8.078 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.954e-05/0.2887, allocations: 16.03 kB / 0.5602 GB, free: 8.062 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.606e-05/0.2888, allocations: 34.56 kB / 0.5602 GB, free: 8.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000363/0.2892, allocations: 15.89 kB / 0.5603 GB, free: 8.004 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.2894, allocations: 159.1 kB / 0.5604 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.2894, allocations: 7.938 kB / 0.5604 GB, free: 7.801 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.2895, allocations: 11.95 kB / 0.5604 GB, free: 7.789 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.2898, allocations: 68.23 kB / 0.5605 GB, free: 7.707 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.2898, allocations: 4 kB / 0.5605 GB, free: 7.703 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.2898, allocations: 4 kB / 0.5605 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.2898, allocations: 0 / 0.5605 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.471e-05/0.2899, allocations: 15.92 kB / 0.5605 GB, free: 7.684 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009602/0.2909, allocations: 466.9 kB / 0.561 GB, free: 7.164 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.2911, allocations: 75.81 kB / 0.561 GB, free: 7.062 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.2912, allocations: 3.938 kB / 0.561 GB, free: 7.059 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.403e-05/0.2912, allocations: 42.56 kB / 0.5611 GB, free: 7.008 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.2912, allocations: 4 kB / 0.5611 GB, free: 7.004 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009981/0.2922, allocations: 302.1 kB / 0.5614 GB, free: 6.656 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.697e-05/0.2923, allocations: 102.8 kB / 0.5615 GB, free: 6.531 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.2925, allocations: 97.86 kB / 0.5616 GB, free: 6.426 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.2925, allocations: 29.7 kB / 0.5616 GB, free: 6.391 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/0.2926, allocations: 88.3 kB / 0.5617 GB, free: 6.301 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.2926, allocations: 31.55 kB / 0.5617 GB, free: 6.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-06/0.2926, allocations: 4 kB / 0.5617 GB, free: 6.266 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.2928, allocations: 318.8 kB / 0.562 GB, free: 5.945 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.021e-05/0.2929, allocations: 11.98 kB / 0.562 GB, free: 5.934 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-05/0.293, allocations: 53.14 kB / 0.5621 GB, free: 5.863 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.886e-05/0.2931, allocations: 24.45 kB / 0.5621 GB, free: 5.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2931, allocations: 0 / 0.5621 GB, free: 5.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002027/0.2933, allocations: 97.53 kB / 0.5622 GB, free: 5.738 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.2933, allocations: 6.344 kB / 0.5622 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.2933, allocations: 0 / 0.5622 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.2934, allocations: 4 kB / 0.5622 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.2935, allocations: 19.98 kB / 0.5622 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.2935, allocations: 8.125 kB / 0.5622 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.849e-05/0.2936, allocations: 7.938 kB / 0.5622 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.2936, allocations: 8.062 kB / 0.5622 GB, free: 5.688 MB / 430.1 MB 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 0.0001184/0.2937, allocations: 117.8 kB / 0.5624 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.39e-05/0.2938, allocations: 7.906 kB / 0.5624 GB, free: 5.555 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.2939, allocations: 15.48 kB / 0.5624 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2939, allocations: 0 / 0.5624 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.2939, allocations: 4 kB / 0.5624 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2939, allocations: 0 / 0.5624 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005127/0.2945, allocations: 177.6 kB / 0.5625 GB, free: 5.309 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2945, allocations: 3.938 kB / 0.5626 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.2946, allocations: 20 kB / 0.5626 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2946, allocations: 0 / 0.5626 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.2946, allocations: 0 / 0.5626 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.2947, allocations: 7.938 kB / 0.5626 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.2947, allocations: 3.984 kB / 0.5626 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/0.2951, allocations: 349.5 kB / 0.5629 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-05/0.2952, allocations: 85.05 kB / 0.563 GB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.2952, allocations: 4 kB / 0.563 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.2955, allocations: 0 / 0.563 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.2955, allocations: 11.98 kB / 0.563 GB, free: 4.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.2955, allocations: 7.938 kB / 0.563 GB, free: 4.777 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.217e-05/0.2956, allocations: 83.23 kB / 0.5631 GB, free: 4.695 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2956, allocations: 0 / 0.5631 GB, free: 4.695 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001138/0.2968, allocations: 16 kB / 0.5631 GB, free: 4.68 MB / 430.1 MB 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.0009015/0.2977, allocations: 1.009 MB / 0.5641 GB, free: 3.633 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.2979, allocations: 47.91 kB / 0.5641 GB, free: 3.586 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2979, allocations: 0 / 0.5641 GB, free: 3.586 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.267e-05/0.2979, allocations: 23.92 kB / 0.5642 GB, free: 3.562 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.2984, allocations: 7.172 kB / 0.5642 GB, free: 3.559 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.3006, allocations: 1.453 MB / 0.5656 GB, free: 2.027 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.3011, allocations: 0.6848 MB / 0.5663 GB, free: 1.316 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.117e-05/0.3012, allocations: 8 kB / 0.5663 GB, free: 1.309 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.122e-05/0.3013, allocations: 15.5 kB / 0.5663 GB, free: 1.293 MB / 430.1 MB Notification: Performance of SimCode: time 1.163e-06/0.3013, allocations: 0 / 0.5663 GB, free: 1.293 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.3201, allocations: 1.444 MB / 0.5677 GB, free: 36 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003758/0.3206, allocations: 222.1 kB / 0.5679 GB, free: 15.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.845/3.165, allocations: 3.125 kB / 0.5679 GB, free: 15.79 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: