Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007992/0.0007992, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009814/0.0009814, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9724/0.9724, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7218/0.7218, allocations: 154.6 MB / 413.8 MB, free: 0.7852 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.329e-05, allocations: 9.531 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001831/0.001855, allocations: 1.275 MB / 0.6193 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002588/0.004443, allocations: 2.378 MB / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.764e-05/0.00448, allocations: 0 / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.964e-05/0.0045, allocations: 3.984 kB / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.701e-05/0.004547, allocations: 7.922 kB / 0.6217 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006354/0.005182, allocations: 131.3 kB / 0.6218 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.094e-05/0.005263, allocations: 39.84 kB / 0.6218 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.005304, allocations: 11.86 kB / 0.6218 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.146e-05/0.005366, allocations: 23.92 kB / 0.6218 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.276e-05/0.005428, allocations: 19.97 kB / 0.6219 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.005445, allocations: 0 / 0.6219 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002649/0.00571, allocations: 107.7 kB / 0.622 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.005726, allocations: 8 kB / 0.622 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.005751, allocations: 11.97 kB / 0.622 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.005932, allocations: 87.72 kB / 0.6221 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.005936, allocations: 0 / 0.6221 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.503e-06/0.005938, allocations: 0 / 0.6221 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.005943, allocations: 0 / 0.6221 GB, free: 9.578 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.0003557/0.006298, allocations: 278.2 kB / 0.6223 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.00634, allocations: 12.03 kB / 0.6223 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.167e-05/0.006372, allocations: 30.75 kB / 0.6224 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.006528, allocations: 20.88 kB / 0.6224 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.546e-05/0.006604, allocations: 109.8 kB / 0.6225 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.006618, allocations: 4.375 kB / 0.6225 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.006646, allocations: 4.375 kB / 0.6225 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.006805, allocations: 149.9 kB / 0.6227 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.006813, allocations: 4.188 kB / 0.6227 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.006824, allocations: 3.938 kB / 0.6227 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.006829, allocations: 3.938 kB / 0.6227 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.827e-05/0.006868, allocations: 12 kB / 0.6227 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.007371, allocations: 408.3 kB / 0.6231 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.007489, allocations: 79.67 kB / 0.6231 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.446e-05/0.007513, allocations: 22.72 kB / 0.6232 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.007524, allocations: 0 / 0.6232 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.007548, allocations: 38.56 kB / 0.6232 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.007549, allocations: 0 / 0.6232 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0005202/0.008069, allocations: 221.1 kB / 0.6234 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.008116, allocations: 110.8 kB / 0.6235 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.1e-05/0.008177, allocations: 106.5 kB / 0.6236 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.00819, allocations: 25.7 kB / 0.6236 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.00823, allocations: 92.08 kB / 0.6237 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.008246, allocations: 23.8 kB / 0.6238 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.008299, allocations: 29.66 kB / 0.6238 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.647e-05/0.008386, allocations: 322.8 kB / 0.6241 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.362e-05/0.008409, allocations: 15.98 kB / 0.6241 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.712e-05/0.008447, allocations: 45.16 kB / 0.6241 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.248e-05/0.008519, allocations: 81.11 kB / 0.6242 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.00852, allocations: 0 / 0.6242 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.852e-05/0.008619, allocations: 97.48 kB / 0.6243 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.008635, allocations: 9.812 kB / 0.6243 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.008643, allocations: 8.062 kB / 0.6243 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.008658, allocations: 0 / 0.6243 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.673e-05/0.008714, allocations: 19.98 kB / 0.6244 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.00872, allocations: 4 kB / 0.6244 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.332e-05/0.008744, allocations: 4.125 kB / 0.6244 GB, free: 6.906 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.008751, allocations: 12 kB / 0.6244 GB, free: 6.895 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 7.04e-05/0.008821, allocations: 118.7 kB / 0.6245 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.008853, allocations: 11.89 kB / 0.6245 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.008879, allocations: 11.81 kB / 0.6245 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.008881, allocations: 0 / 0.6245 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.008889, allocations: 3.984 kB / 0.6245 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.008894, allocations: 4 kB / 0.6245 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.009127, allocations: 144.7 kB / 0.6247 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.009128, allocations: 0 / 0.6247 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.681e-05/0.009175, allocations: 15.98 kB / 0.6247 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.009178, allocations: 8 kB / 0.6247 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.009187, allocations: 4 kB / 0.6247 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.009189, allocations: 0 / 0.6247 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.009191, allocations: 4 kB / 0.6247 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.009392, allocations: 326 kB / 0.625 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.009424, allocations: 7.953 kB / 0.625 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.009436, allocations: 0 / 0.625 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.997e-05/0.009536, allocations: 8.031 kB / 0.625 GB, free: 6.176 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.009552, allocations: 4 kB / 0.625 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.009559, allocations: 4 kB / 0.625 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.012e-05/0.009589, allocations: 87.27 kB / 0.6251 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.00959, allocations: 0 / 0.6251 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002141/0.009804, allocations: 12 kB / 0.6251 GB, free: 6.07 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.0004119/0.01022, allocations: 0.8633 MB / 0.626 GB, free: 5.18 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.01033, allocations: 48.38 kB / 0.626 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01033, allocations: 0 / 0.626 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.631e-05/0.01035, allocations: 20.25 kB / 0.626 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.0107, allocations: 11.98 kB / 0.626 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.01196, allocations: 1.632 MB / 0.6276 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.292e-05/0.01201, allocations: 67.34 kB / 0.6277 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.87e-05/0.01205, allocations: 11.98 kB / 0.6277 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.01209, allocations: 20.44 kB / 0.6277 GB, free: 3.23 MB / 0.5886 GB Notification: Performance of SimCode: time 1.062e-06/0.01209, allocations: 0 / 0.6277 GB, free: 3.23 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/0.03258, allocations: 2.372 MB / 0.63 GB, free: 1.062 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.267/7.3, allocations: 0 / 0.63 GB, free: 1.062 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.113533020019531] Failed to read output from testmodel.py, exit status != 0: 7.382495014928281 7.397222439 7.388604278 Calling exit ...