Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_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.00124/0.00124, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001633/0.001633, allocations: 216.3 kB / 22.25 MB, free: 5.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 207.6 MB / 233 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05273/0.05273, allocations: 9.157 MB / 294.4 MB, free: 12.69 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Ts_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002547/0.002547, allocations: 76.52 kB / 411.1 MB, free: 46.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07239/0.07493, allocations: 50.75 MB / 461.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.02187/0.09681, allocations: 17.01 MB / 478.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002367/0.09917, allocations: 1.857 MB / 480.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.09921, allocations: 4 kB / 480.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006751/0.09988, allocations: 299.7 kB / 481 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.185e-05/0.09993, allocations: 27.84 kB / 481 MB, free: 9.465 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.007797/0.1077, allocations: 2.956 MB / 484 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.1078, allocations: 63.66 kB / 484 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.68e-05/0.1079, allocations: 7.938 kB / 484 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.669e-05/0.108, allocations: 27.86 kB / 484 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.046e-05/0.108, allocations: 7.938 kB / 484.1 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.595e-06/0.108, allocations: 0 / 484.1 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009603/0.1176, allocations: 5.306 MB / 489.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.1176, allocations: 4 kB / 489.4 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.746e-05/0.1177, allocations: 11.94 kB / 489.4 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004465/0.1222, allocations: 2.011 MB / 491.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1222, allocations: 0 / 491.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1222, allocations: 0 / 491.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1222, allocations: 0 / 491.4 MB, free: 15.05 MB / 366.1 MB 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.000997/0.1232, allocations: 448.3 kB / 491.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1232, allocations: 15.98 kB / 491.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.493e-05/0.1232, allocations: 30.56 kB / 491.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.1233, allocations: 11.89 kB / 491.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.1234, allocations: 113.1 kB / 492 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.1234, allocations: 3.984 kB / 492 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-06/0.1234, allocations: 0 / 492 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.518e-05/0.1235, allocations: 37.7 kB / 492 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.1235, allocations: 0 / 492 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-06/0.1235, allocations: 0 / 492 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1235, allocations: 4 kB / 492 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.032e-05/0.1235, allocations: 15.98 kB / 492.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.1237, allocations: 136.7 kB / 492.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.325e-05/0.1238, allocations: 34.52 kB / 492.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.1238, allocations: 16.89 kB / 492.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02522/0.149, allocations: 5.725 MB / 498 MB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.1491, allocations: 30.56 kB / 498 MB, free: 8.297 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 3.036e-06/0.1491, allocations: 0 / 498 MB, free: 8.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002707/0.1493, allocations: 73.86 kB / 498.1 MB, free: 8.219 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.1494, allocations: 51.41 kB / 498.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.1495, allocations: 105.8 kB / 498.2 MB, free: 8.043 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.1495, allocations: 25.86 kB / 498.2 MB, free: 8.012 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.1495, allocations: 84.14 kB / 498.3 MB, free: 7.926 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/0.1496, allocations: 23.8 kB / 498.3 MB, free: 7.902 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-05/0.1497, allocations: 17.7 kB / 498.4 MB, free: 7.879 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1498, allocations: 314.8 kB / 498.7 MB, free: 7.562 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.123e-05/0.1499, allocations: 16 kB / 498.7 MB, free: 7.547 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.357e-05/0.1499, allocations: 15.97 kB / 498.7 MB, free: 7.531 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.355e-05/0.1499, allocations: 32.84 kB / 498.7 MB, free: 7.496 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1499, allocations: 4 kB / 498.7 MB, free: 7.492 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001091/0.15, allocations: 77.55 kB / 498.8 MB, free: 7.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.1501, allocations: 5.406 kB / 498.8 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1501, allocations: 0 / 498.8 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.1501, allocations: 0 / 498.8 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.1501, allocations: 0 / 498.8 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.1501, allocations: 3.984 kB / 498.8 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.624e-05/0.1501, allocations: 7.938 kB / 498.8 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1501, allocations: 0 / 498.8 MB, free: 7.395 MB / 366.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: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001009/0.1502, allocations: 109.8 kB / 498.9 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.1503, allocations: 11.98 kB / 499 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.1504, allocations: 163 kB / 499.1 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.104e-05/0.1505, allocations: 188.2 kB / 499.3 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-05/0.1506, allocations: 180.3 kB / 499.5 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-05/0.1507, allocations: 180.2 kB / 499.6 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.151, allocations: 388.2 kB / 0.4883 GB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.451e-05/0.151, allocations: 101 kB / 0.4884 GB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.049e-05/0.1511, allocations: 108.9 kB / 0.4885 GB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.808e-05/0.1511, allocations: 180.2 kB / 0.4887 GB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.467e-05/0.1512, allocations: 184.2 kB / 0.4889 GB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.254e-05/0.1513, allocations: 180.3 kB / 0.489 GB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.487e-05/0.1514, allocations: 188.2 kB / 0.4892 GB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.1516, allocations: 303.8 kB / 0.4895 GB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-05/0.1516, allocations: 112.9 kB / 0.4896 GB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.109e-05/0.1517, allocations: 180.3 kB / 0.4898 GB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.711e-05/0.1518, allocations: 104.9 kB / 0.4899 GB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.073e-05/0.1519, allocations: 184.2 kB / 0.4901 GB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.124e-05/0.1519, allocations: 105 kB / 0.4902 GB, free: 4.098 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.522e-05/0.152, allocations: 103.2 kB / 0.4903 GB, free: 3.996 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.152, allocations: 3.938 kB / 0.4903 GB, free: 3.992 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001099/0.1531, allocations: 398.7 kB / 0.4906 GB, free: 3.602 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.002392/0.1555, allocations: 1.36 MB / 0.492 GB, free: 2.215 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.056e-05/0.1556, allocations: 23.94 kB / 0.492 GB, free: 2.191 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1556, allocations: 0 / 0.492 GB, free: 2.191 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.931e-06/0.1556, allocations: 3.984 kB / 0.492 GB, free: 2.188 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005943/0.1562, allocations: 479.7 kB / 0.4924 GB, free: 1.715 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.1579, allocations: 1.562 MB / 0.494 GB, free: 72 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.1583, allocations: 0.6768 MB / 0.4946 GB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.772e-05/0.1583, allocations: 4 kB / 0.4946 GB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.1583, allocations: 7.438 kB / 0.4946 GB, free: 15.36 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1583, allocations: 0 / 0.4946 GB, free: 15.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0486/0.2069, allocations: 15.57 MB / 0.5098 GB, free: 15.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.55, allocations: 4.062 kB / 0.5098 GB, free: 15.8 MB / 398.1 MB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.025672342861071] Failed to read output from testmodel.py, exit status != 0: 11.669231070904061 11.697628344 11.570098252 Calling exit ...