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.0008965/0.0008965, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001311/0.001311, allocations: 223.7 kB / 22.26 MB, free: 3.703 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.046/1.046, allocations: 230.6 MB / 256 MB, free: 9.809 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.8881/0.8881, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.0009352/0.0009352, allocations: 72.45 kB / 0.7182 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5419/0.5429, allocations: 102 MB / 0.8178 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001685/0.5446, allocations: 1.285 MB / 0.8191 GB, free: 352 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002246/0.5468, allocations: 2.598 MB / 0.8216 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.519e-05/0.5468, allocations: 0 / 0.8216 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.5468, allocations: 2.594 kB / 0.8216 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.182e-05/0.5469, allocations: 4.453 kB / 0.8216 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005123/0.5474, allocations: 134.9 kB / 0.8218 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.645e-05/0.5475, allocations: 35.36 kB / 0.8218 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.5475, allocations: 1.828 kB / 0.8218 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.289e-05/0.5476, allocations: 28.86 kB / 0.8218 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.255e-05/0.5476, allocations: 17.61 kB / 0.8219 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.406e-06/0.5476, allocations: 2.406 kB / 0.8219 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002291/0.5479, allocations: 117.1 kB / 0.822 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.5479, allocations: 16.7 kB / 0.822 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.5479, allocations: 9.625 kB / 0.822 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.5481, allocations: 80.75 kB / 0.8221 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5481, allocations: 0.6562 kB / 0.8221 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5481, allocations: 3.938 kB / 0.8221 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.5481, allocations: 3.938 kB / 0.8221 GB, free: 14.3 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.0003396/0.5484, allocations: 278.4 kB / 0.8223 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.5485, allocations: 9.719 kB / 0.8224 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.991e-05/0.5485, allocations: 34.59 kB / 0.8224 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.5487, allocations: 12.03 kB / 0.8224 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.081e-05/0.5487, allocations: 108.2 kB / 0.8225 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.5487, allocations: 6.562 kB / 0.8225 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.5488, allocations: 10.44 kB / 0.8225 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.5489, allocations: 82.3 kB / 0.8226 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.5489, allocations: 0 / 0.8226 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.5489, allocations: 1.281 kB / 0.8226 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.5489, allocations: 1.281 kB / 0.8226 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.843e-05/0.549, allocations: 17.77 kB / 0.8226 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006006/0.5496, allocations: 421.5 kB / 0.823 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.292e-05/0.5496, allocations: 67.03 kB / 0.8231 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.498e-05/0.5497, allocations: 24.95 kB / 0.8231 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.5497, allocations: 4 kB / 0.8231 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.5497, allocations: 38.08 kB / 0.8231 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.5497, allocations: 0 / 0.8231 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004512/0.5502, allocations: 228 kB / 0.8234 GB, free: 13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.5502, allocations: 108.7 kB / 0.8235 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.953e-05/0.5502, allocations: 100.2 kB / 0.8236 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.5503, allocations: 32.08 kB / 0.8236 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.5503, allocations: 84.84 kB / 0.8237 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.5503, allocations: 29.52 kB / 0.8237 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.5503, allocations: 28.73 kB / 0.8237 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.388e-05/0.5504, allocations: 316.8 kB / 0.824 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.512e-05/0.5504, allocations: 18.33 kB / 0.824 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.002e-05/0.5505, allocations: 56.72 kB / 0.8241 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.52e-05/0.5505, allocations: 68.61 kB / 0.8242 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.5506, allocations: 4.703 kB / 0.8242 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.86e-05/0.5506, allocations: 93.41 kB / 0.8243 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.5507, allocations: 7.062 kB / 0.8243 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.5507, allocations: 4.906 kB / 0.8243 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.5507, allocations: 2.672 kB / 0.8243 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.453e-05/0.5507, allocations: 19.2 kB / 0.8243 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.5507, allocations: 2.953 kB / 0.8243 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.443e-05/0.5508, allocations: 6.344 kB / 0.8243 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.5508, allocations: 8.484 kB / 0.8243 GB, free: 12.09 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 5.696e-05/0.5508, allocations: 121.8 kB / 0.8244 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.5509, allocations: 3.594 kB / 0.8244 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.5509, allocations: 9.531 kB / 0.8244 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5509, allocations: 6.031 kB / 0.8244 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5509, allocations: 1.25 kB / 0.8244 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5509, allocations: 2.797 kB / 0.8244 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.5511, allocations: 155.1 kB / 0.8246 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5511, allocations: 2.156 kB / 0.8246 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.779e-05/0.5512, allocations: 15.77 kB / 0.8246 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5512, allocations: 10.78 kB / 0.8246 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-06/0.5512, allocations: 0 / 0.8246 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5512, allocations: 2.953 kB / 0.8246 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.5512, allocations: 0 / 0.8246 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.5513, allocations: 326.5 kB / 0.8249 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.5514, allocations: 14.67 kB / 0.825 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.5514, allocations: 5.688 kB / 0.825 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.5515, allocations: 8.922 kB / 0.825 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.5515, allocations: 9.906 kB / 0.825 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.5515, allocations: 6.625 kB / 0.825 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.285e-05/0.5515, allocations: 78.28 kB / 0.8251 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5515, allocations: 3.938 kB / 0.8251 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002149/0.5517, allocations: 16.25 kB / 0.8251 GB, free: 11.37 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.0003295/0.5521, allocations: 0.8566 MB / 0.8259 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.623e-05/0.5522, allocations: 42.84 kB / 0.826 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5522, allocations: 8 kB / 0.826 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-05/0.5522, allocations: 12.78 kB / 0.826 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.5525, allocations: 14.34 kB / 0.826 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.5536, allocations: 1.692 MB / 0.8276 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.5538, allocations: 0.6947 MB / 0.8283 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.424e-05/0.5538, allocations: 9.906 kB / 0.8283 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.5539, allocations: 15.75 kB / 0.8283 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of SimCode: time 4.51e-07/0.5539, allocations: 4 kB / 0.8283 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.5735, allocations: 1.841 MB / 0.8301 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.779/7.353, allocations: 5.906 kB / 0.8302 GB, free: 7.742 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.551453973166645] Failed to read output from testmodel.py, exit status != 0: 7.429718373110518 7.443348535 6.892633526 Calling exit ...