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.0009059/0.0009059, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0009764/0.0009764, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.9298/0.9298, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.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.7352/0.7352, allocations: 154.6 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.938e-05, allocations: 2.281 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001707/0.001727, allocations: 1.276 MB / 0.6193 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002232/0.003959, allocations: 2.375 MB / 0.6216 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.003986, allocations: 0 / 0.6216 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.19e-05/0.004008, allocations: 3.938 kB / 0.6216 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.23e-05/0.004061, allocations: 11.92 kB / 0.6216 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005531/0.004614, allocations: 131.3 kB / 0.6217 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.807e-05/0.004702, allocations: 39.83 kB / 0.6218 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.197e-05/0.004754, allocations: 0 / 0.6218 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.118e-05/0.004825, allocations: 23.92 kB / 0.6218 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.38e-05/0.004909, allocations: 15.97 kB / 0.6218 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.004927, allocations: 0 / 0.6218 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.005171, allocations: 111.7 kB / 0.6219 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.005193, allocations: 11.98 kB / 0.6219 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.005222, allocations: 7.984 kB / 0.6219 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.005438, allocations: 83.72 kB / 0.622 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.093e-06/0.005441, allocations: 0 / 0.622 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.773e-06/0.005442, allocations: 0 / 0.622 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.00545, allocations: 4 kB / 0.622 GB, free: 9.641 MB / 0.5886 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.0004497/0.0059, allocations: 274.2 kB / 0.6223 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.005951, allocations: 13.47 kB / 0.6223 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.757e-05/0.005988, allocations: 34.75 kB / 0.6223 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.006151, allocations: 24.86 kB / 0.6223 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.674e-05/0.006248, allocations: 109.7 kB / 0.6224 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.006262, allocations: 4.375 kB / 0.6224 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.006293, allocations: 4.375 kB / 0.6224 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.006484, allocations: 149.9 kB / 0.6226 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.006494, allocations: 192 / 0.6226 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.00651, allocations: 3.938 kB / 0.6226 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.006516, allocations: 0 / 0.6226 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.056e-05/0.006566, allocations: 23.86 kB / 0.6226 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.007121, allocations: 404.3 kB / 0.623 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.007241, allocations: 75.66 kB / 0.6231 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.907e-05/0.00727, allocations: 26.58 kB / 0.6231 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.007283, allocations: 0 / 0.6231 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.007309, allocations: 34.56 kB / 0.6231 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.402e-06/0.007311, allocations: 0 / 0.6231 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0005708/0.007882, allocations: 225.2 kB / 0.6233 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.007936, allocations: 107.1 kB / 0.6235 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.061e-05/0.008007, allocations: 110.3 kB / 0.6236 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.008021, allocations: 25.7 kB / 0.6236 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.008069, allocations: 88.09 kB / 0.6237 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.008084, allocations: 23.73 kB / 0.6237 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.008121, allocations: 33.66 kB / 0.6237 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.428e-05/0.008215, allocations: 322.8 kB / 0.624 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.34e-05/0.008238, allocations: 11.98 kB / 0.624 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.529e-05/0.008284, allocations: 57.08 kB / 0.6241 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.961e-05/0.008363, allocations: 77.12 kB / 0.6242 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.008365, allocations: 0 / 0.6242 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001062/0.008471, allocations: 93.55 kB / 0.6243 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.008487, allocations: 4 kB / 0.6243 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.008494, allocations: 4 kB / 0.6243 GB, free: 7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.00851, allocations: 0 / 0.6243 GB, free: 7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.69e-05/0.008566, allocations: 27.92 kB / 0.6243 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.008574, allocations: 0 / 0.6243 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.373e-05/0.008598, allocations: 8.125 kB / 0.6243 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.008605, allocations: 4 kB / 0.6243 GB, free: 6.961 MB / 0.5886 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 6.774e-05/0.008673, allocations: 118.8 kB / 0.6244 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.008704, allocations: 3.953 kB / 0.6244 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.008737, allocations: 19.73 kB / 0.6244 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.008739, allocations: 0 / 0.6244 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.008746, allocations: 4.062 kB / 0.6244 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.008752, allocations: 4 kB / 0.6244 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.008977, allocations: 148.7 kB / 0.6246 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.008979, allocations: 0 / 0.6246 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-05/0.009027, allocations: 23.92 kB / 0.6246 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.009029, allocations: 4 kB / 0.6246 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.009036, allocations: 0 / 0.6246 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.009037, allocations: 0 / 0.6246 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.009039, allocations: 4 kB / 0.6246 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.009244, allocations: 322 kB / 0.6249 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/0.00928, allocations: 15.89 kB / 0.6249 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.009293, allocations: 4.031 kB / 0.6249 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.653e-05/0.00939, allocations: 4 kB / 0.6249 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.009407, allocations: 0 / 0.6249 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.009414, allocations: 15.98 kB / 0.625 GB, free: 6.215 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.92e-05/0.009443, allocations: 79.28 kB / 0.625 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009444, allocations: 0 / 0.625 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002052/0.009649, allocations: 12 kB / 0.6251 GB, free: 6.125 MB / 0.5886 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.0004084/0.01006, allocations: 0.8633 MB / 0.6259 GB, free: 5.234 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.01017, allocations: 44.42 kB / 0.6259 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01017, allocations: 256 / 0.6259 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.098e-05/0.01019, allocations: 27.92 kB / 0.626 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.0105, allocations: 4.156 kB / 0.626 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.01165, allocations: 1.643 MB / 0.6276 GB, free: 3.398 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.213e-05/0.01171, allocations: 67.33 kB / 0.6276 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.01175, allocations: 8.062 kB / 0.6276 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.01179, allocations: 16.5 kB / 0.6277 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of SimCode: time 3.81e-07/0.01179, allocations: 0 / 0.6277 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.03514, allocations: 2.379 MB / 0.63 GB, free: 1.121 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.01/7.045, allocations: 3.938 kB / 0.63 GB, free: 1.117 MB / 0.5886 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: 9.90432530362159] Failed to read output from testmodel.py, exit status != 0: 7.1258948957547545 7.13536261 7.128137647 Calling exit ...