Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.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.001265/0.001265, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.00157/0.00157, allocations: 211.4 kB / 22.24 MB, free: 5.262 MB / 14.72 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.356/1.356, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.06942/0.06942, allocations: 9.143 MB / 321.6 MB, free: 10.29 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.Parameter.State_pT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 59.91 kB / 446.5 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09788/0.09993, allocations: 54.95 MB / 0.4897 GB, free: 9.605 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.0183/0.1182, allocations: 15.47 MB / 0.5048 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.1289, allocations: 9.822 MB / 0.5144 GB, free: 228 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.1289, allocations: 0 / 0.5144 GB, free: 228 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006384/0.1296, allocations: 227.4 kB / 0.5146 GB, free: 0 / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1896/0.3191, allocations: 39.36 kB / 0.5146 GB, free: 7.215 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01163/0.3308, allocations: 6.001 MB / 0.5205 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.3309, allocations: 80.83 kB / 0.5206 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.3309, allocations: 2 kB / 0.5206 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.32e-05/0.331, allocations: 41.55 kB / 0.5206 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.16e-05/0.331, allocations: 16.61 kB / 0.5206 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.835e-06/0.331, allocations: 1.969 kB / 0.5206 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01013/0.3412, allocations: 6.102 MB / 0.5266 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.3412, allocations: 6.844 kB / 0.5266 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.264e-05/0.3412, allocations: 19.2 kB / 0.5266 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00617/0.3474, allocations: 3.074 MB / 0.5296 GB, free: 6.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3474, allocations: 0 / 0.5296 GB, free: 6.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3474, allocations: 1.094 kB / 0.5296 GB, free: 6.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.3474, allocations: 2.188 kB / 0.5296 GB, free: 6.625 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00156/0.349, allocations: 0.7422 MB / 0.5304 GB, free: 6.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.349, allocations: 10.12 kB / 0.5304 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.643e-05/0.349, allocations: 38.55 kB / 0.5304 GB, free: 6.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.3491, allocations: 5.422 kB / 0.5304 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.226e-05/0.3491, allocations: 107.9 kB / 0.5305 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3491, allocations: 5.25 kB / 0.5305 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-06/0.3492, allocations: 5.219 kB / 0.5305 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.994e-05/0.3493, allocations: 53.84 kB / 0.5306 GB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3493, allocations: 1.344 kB / 0.5306 GB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.3493, allocations: 0 / 0.5306 GB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.3493, allocations: 7.266 kB / 0.5306 GB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.518e-05/0.3493, allocations: 24.67 kB / 0.5306 GB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.3494, allocations: 157.1 kB / 0.5308 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.539e-05/0.3495, allocations: 46.81 kB / 0.5308 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.3495, allocations: 28.72 kB / 0.5308 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04895/0.3985, allocations: 11.9 MB / 0.5424 GB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.3985, allocations: 32.59 kB / 0.5425 GB, free: 2.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 2.064e-06/0.3985, allocations: 0 / 0.5425 GB, free: 2.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002607/0.3988, allocations: 140.9 kB / 0.5426 GB, free: 2.207 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.3988, allocations: 52.31 kB / 0.5427 GB, free: 2.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.662e-05/0.3988, allocations: 101 kB / 0.5428 GB, free: 2.043 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.3988, allocations: 26.83 kB / 0.5428 GB, free: 2.012 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.299e-05/0.3989, allocations: 80.8 kB / 0.5429 GB, free: 1.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.3989, allocations: 48.12 kB / 0.5429 GB, free: 1.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.3989, allocations: 24.41 kB / 0.5429 GB, free: 1.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.046e-05/0.399, allocations: 319.5 kB / 0.5432 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.124e-05/0.399, allocations: 25.11 kB / 0.5433 GB, free: 1.551 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.611e-05/0.399, allocations: 23.28 kB / 0.5433 GB, free: 1.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.453e-05/0.3991, allocations: 72.52 kB / 0.5434 GB, free: 1.535 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3991, allocations: 2.141 kB / 0.5434 GB, free: 1.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.477e-05/0.3992, allocations: 109.4 kB / 0.5435 GB, free: 1.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3992, allocations: 5.969 kB / 0.5435 GB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3992, allocations: 0 / 0.5435 GB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3992, allocations: 0 / 0.5435 GB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.663e-06/0.3992, allocations: 1.547 kB / 0.5435 GB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3992, allocations: 4.312 kB / 0.5435 GB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.394e-05/0.3993, allocations: 3.938 kB / 0.5435 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.3993, allocations: 3.469 kB / 0.5435 GB, free: 1.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state_ps.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 4.698e-05/0.3993, allocations: 112 kB / 0.5436 GB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.3993, allocations: 3.953 kB / 0.5436 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.3995, allocations: 168 kB / 0.5437 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3995, allocations: 2.875 kB / 0.5437 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3995, allocations: 0 / 0.5437 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3995, allocations: 3.938 kB / 0.5438 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.338e-05/0.3996, allocations: 142 kB / 0.5439 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.3996, allocations: 0 / 0.5439 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-06/0.3996, allocations: 3.984 kB / 0.5439 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.3996, allocations: 0 / 0.5439 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.3996, allocations: 0 / 0.5439 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3996, allocations: 7.688 kB / 0.5439 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3996, allocations: 0 / 0.5439 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.684e-05/0.3997, allocations: 95.33 kB / 0.544 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-06/0.3997, allocations: 16.45 kB / 0.544 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.3997, allocations: 2.219 kB / 0.544 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.944e-05/0.3997, allocations: 0 / 0.544 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.759e-06/0.3997, allocations: 6.766 kB / 0.544 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.3997, allocations: 3.938 kB / 0.544 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.95e-05/0.3998, allocations: 99.45 kB / 0.5441 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3998, allocations: 0 / 0.5441 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002621/0.4024, allocations: 0.8783 MB / 0.545 GB, free: 0.6953 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state_ps.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.003716/0.4061, allocations: 1.898 MB / 0.5468 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.4062, allocations: 45.67 kB / 0.5469 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4062, allocations: 3.75 kB / 0.5469 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.001e-05/0.4062, allocations: 16.17 kB / 0.5469 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.4067, allocations: 66.06 kB / 0.547 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.4087, allocations: 1.68 MB / 0.5486 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.587e-05/0.4087, allocations: 78.62 kB / 0.5487 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.102e-05/0.4088, allocations: 2.344 kB / 0.5487 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.4088, allocations: 19.78 kB / 0.5487 GB, free: 14.28 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4088, allocations: 0 / 0.5487 GB, free: 14.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06427/0.4731, allocations: 26.53 MB / 0.5746 GB, free: 4.047 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.83, allocations: 13.12 kB / 0.5746 GB, free: 4.039 MB / 414.1 MB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.26446952437982] Failed to read output from testmodel.py, exit status != 0: 11.947409144137055 11.963256897 11.612728703 Calling exit ...