Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001095/0.001095, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0009058/0.0009058, allocations: 212.1 kB / 22.25 MB, free: 3.727 MB / 13.93 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.002/1.002, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8488/0.8488, allocations: 203.8 MB / 0.5042 GB, free: 10.41 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.00102/0.00102, allocations: 65.83 kB / 0.7181 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5706/0.5717, allocations: 102 MB / 0.8178 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002212/0.5739, allocations: 1.276 MB / 0.819 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003116/0.577, allocations: 2.384 MB / 0.8214 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.618e-05/0.577, allocations: 1.219 kB / 0.8214 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.527e-05/0.5771, allocations: 1.266 kB / 0.8214 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.493e-05/0.5771, allocations: 10.28 kB / 0.8214 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008562/0.578, allocations: 135.9 kB / 0.8215 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.5781, allocations: 32.2 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.546e-05/0.5782, allocations: 5 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.262e-05/0.5782, allocations: 21.86 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.938e-05/0.5783, allocations: 15.44 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.5783, allocations: 0 / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002983/0.5786, allocations: 103.1 kB / 0.8217 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.629e-05/0.5787, allocations: 12.7 kB / 0.8217 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.5787, allocations: 16.31 kB / 0.8217 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.579, allocations: 81.42 kB / 0.8218 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.579, allocations: 0 / 0.8218 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.316e-06/0.579, allocations: 0 / 0.8218 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.579, allocations: 1 kB / 0.8218 GB, free: 14.34 MB / 0.6198 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.0005365/0.5795, allocations: 275.4 kB / 0.822 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.615e-05/0.5796, allocations: 12.56 kB / 0.822 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.765e-05/0.5796, allocations: 35.39 kB / 0.8221 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.5799, allocations: 11.94 kB / 0.8221 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.58, allocations: 115.2 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.58, allocations: 384 / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.58, allocations: 12.45 kB / 0.8222 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.5803, allocations: 154.3 kB / 0.8224 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.5803, allocations: 0 / 0.8224 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.5803, allocations: 5.312 kB / 0.8224 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.5803, allocations: 6.438 kB / 0.8224 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.847e-05/0.5804, allocations: 8.547 kB / 0.8224 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000701/0.5811, allocations: 413.3 kB / 0.8228 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.5812, allocations: 74.67 kB / 0.8228 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/0.5812, allocations: 25.58 kB / 0.8229 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.5813, allocations: 4 kB / 0.8229 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.5813, allocations: 36.12 kB / 0.8229 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.5813, allocations: 0 / 0.8229 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0007038/0.582, allocations: 223.2 kB / 0.8231 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.5821, allocations: 106 kB / 0.8232 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.194e-05/0.5822, allocations: 99.89 kB / 0.8233 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.5822, allocations: 38.7 kB / 0.8234 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.5822, allocations: 86.84 kB / 0.8234 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.5822, allocations: 29.25 kB / 0.8235 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.5823, allocations: 27.89 kB / 0.8235 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.5824, allocations: 318.1 kB / 0.8238 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.846e-05/0.5824, allocations: 14.45 kB / 0.8238 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.046e-05/0.5825, allocations: 52.97 kB / 0.8239 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.847e-05/0.5826, allocations: 74.81 kB / 0.8239 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.5826, allocations: 1.469 kB / 0.8239 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001402/0.5827, allocations: 97.42 kB / 0.824 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.5827, allocations: 5.906 kB / 0.824 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.5827, allocations: 1.5 kB / 0.824 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.5828, allocations: 2.781 kB / 0.824 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.552e-05/0.5828, allocations: 24.94 kB / 0.8241 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.5828, allocations: 1.344 kB / 0.8241 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.568e-05/0.5829, allocations: 5.625 kB / 0.8241 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.5829, allocations: 16.62 kB / 0.8241 GB, free: 12.03 MB / 0.6198 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 7.978e-05/0.583, allocations: 117.3 kB / 0.8242 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.583, allocations: 10.66 kB / 0.8242 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.583, allocations: 9.094 kB / 0.8242 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.583, allocations: 1.156 kB / 0.8242 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.583, allocations: 1.469 kB / 0.8242 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.583, allocations: 1.531 kB / 0.8242 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.5833, allocations: 152 kB / 0.8244 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5833, allocations: 0 / 0.8244 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.715e-05/0.5833, allocations: 16.7 kB / 0.8244 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.5833, allocations: 5.375 kB / 0.8244 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.5834, allocations: 0.9375 kB / 0.8244 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.5834, allocations: 5.25 kB / 0.8244 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5834, allocations: 5.188 kB / 0.8244 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.5836, allocations: 331.6 kB / 0.8247 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.5837, allocations: 10 kB / 0.8247 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.5837, allocations: 1.812 kB / 0.8247 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-05/0.5838, allocations: 7.031 kB / 0.8247 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.5838, allocations: 6.656 kB / 0.8247 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.5838, allocations: 9.906 kB / 0.8247 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.261e-05/0.5838, allocations: 82.12 kB / 0.8248 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5838, allocations: 0 / 0.8248 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002151/0.5841, allocations: 13.53 kB / 0.8248 GB, free: 11.32 MB / 0.6198 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.0004255/0.5845, allocations: 0.8585 MB / 0.8257 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.5846, allocations: 44.42 kB / 0.8257 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5846, allocations: 0 / 0.8257 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.413e-05/0.5846, allocations: 22.02 kB / 0.8257 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.585, allocations: 15.48 kB / 0.8257 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.5864, allocations: 1.692 MB / 0.8274 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.28e-05/0.5865, allocations: 70.77 kB / 0.8275 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.64e-05/0.5865, allocations: 12.27 kB / 0.8275 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.5866, allocations: 15.67 kB / 0.8275 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.5866, allocations: 1.312 kB / 0.8275 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.6037, allocations: 2.223 MB / 0.8297 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.801/7.405, allocations: 1.562 kB / 0.8297 GB, free: 7.902 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.522992086131126] Failed to read output from testmodel.py, exit status != 0: 7.482875899411738 7.493601299 6.912416057 Calling exit ...