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.001218/0.001218, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001345/0.001345, allocations: 219 kB / 23.04 MB, free: 5.074 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.298/1.298, allocations: 207.6 MB / 233.8 MB, free: 9.973 MB / 190.1 MB " [Timeout remaining time 179] 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.04889/0.04889, allocations: 9.159 MB / 295.2 MB, free: 12.78 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter",fmuType="cs",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.0021/0.0021, allocations: 70.53 kB / 411.8 MB, free: 46.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06893/0.07103, allocations: 50.76 MB / 462.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.0193/0.09033, allocations: 16.99 MB / 479.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.09226, allocations: 1.853 MB / 481.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.361e-05/0.09228, allocations: 3.938 kB / 481.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005825/0.09287, allocations: 303.7 kB / 481.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.613e-05/0.0929, allocations: 27.84 kB / 481.8 MB, free: 9.484 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.006207/0.09911, allocations: 2.968 MB / 484.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.09922, allocations: 55.67 kB / 484.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.09926, allocations: 7.938 kB / 484.8 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.165e-05/0.09933, allocations: 27.86 kB / 484.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.074e-05/0.09937, allocations: 11.94 kB / 484.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.085e-06/0.09938, allocations: 4 kB / 484.8 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007307/0.1067, allocations: 5.306 MB / 490.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.1067, allocations: 0 / 490.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.1067, allocations: 11.94 kB / 490.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00288/0.1096, allocations: 2.003 MB / 492.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.1096, allocations: 0 / 492.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1096, allocations: 0 / 492.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.1096, allocations: 4 kB / 492.2 MB, free: 15.06 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.0007529/0.1104, allocations: 448.3 kB / 492.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1104, allocations: 19.92 kB / 492.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.296e-05/0.1104, allocations: 0 / 492.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.1105, allocations: 34.56 kB / 492.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.1105, allocations: 7.953 kB / 492.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.715e-05/0.1106, allocations: 109.1 kB / 492.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.1106, allocations: 0 / 492.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.1106, allocations: 0 / 492.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.1107, allocations: 45.69 kB / 492.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1107, allocations: 0 / 492.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.1107, allocations: 0 / 492.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.1107, allocations: 4 kB / 492.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.877e-05/0.1108, allocations: 19.92 kB / 492.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.1109, allocations: 132.7 kB / 493 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.623e-05/0.111, allocations: 38.56 kB / 493 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.839e-05/0.111, allocations: 20.89 kB / 493 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02261/0.1336, allocations: 5.709 MB / 498.7 MB, free: 8.355 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.1337, allocations: 42.56 kB / 498.8 MB, free: 8.305 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.1337, allocations: 0 / 498.8 MB, free: 8.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002072/0.1339, allocations: 77.61 kB / 498.9 MB, free: 8.223 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.1339, allocations: 51.41 kB / 498.9 MB, free: 8.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.677e-05/0.134, allocations: 97.84 kB / 499 MB, free: 8.055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.134, allocations: 29.7 kB / 499 MB, free: 8.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.298e-05/0.134, allocations: 80.14 kB / 499.1 MB, free: 7.938 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.1341, allocations: 23.72 kB / 499.1 MB, free: 7.914 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.1341, allocations: 17.88 kB / 499.2 MB, free: 7.891 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1342, allocations: 322.8 kB / 499.5 MB, free: 7.566 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.943e-05/0.1343, allocations: 12 kB / 499.5 MB, free: 7.555 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.783e-05/0.1343, allocations: 19.94 kB / 499.5 MB, free: 7.535 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.683e-05/0.1343, allocations: 32.84 kB / 499.5 MB, free: 7.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1343, allocations: 0 / 499.5 MB, free: 7.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.625e-05/0.1344, allocations: 69.58 kB / 499.6 MB, free: 7.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1344, allocations: 4 kB / 499.6 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1344, allocations: 0 / 499.6 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1344, allocations: 4.062 kB / 499.6 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.1344, allocations: 4 kB / 499.6 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1344, allocations: 0 / 499.6 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.808e-05/0.1345, allocations: 0 / 499.6 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.1345, allocations: 7.922 kB / 499.6 MB, free: 7.406 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 7.77e-05/0.1346, allocations: 113.8 kB / 499.7 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.308e-06/0.1346, allocations: 3.953 kB / 499.7 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.1347, allocations: 170.9 kB / 499.9 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.379e-05/0.1348, allocations: 184.2 kB / 0.4884 GB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.502e-05/0.1349, allocations: 184.2 kB / 0.4885 GB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.724e-05/0.1349, allocations: 180.2 kB / 0.4887 GB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.1352, allocations: 384.2 kB / 0.4891 GB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.313e-05/0.1352, allocations: 104.9 kB / 0.4892 GB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.1353, allocations: 101 kB / 0.4893 GB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.977e-05/0.1353, allocations: 184.2 kB / 0.4894 GB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-05/0.1354, allocations: 188.2 kB / 0.4896 GB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.914e-05/0.1355, allocations: 176.3 kB / 0.4898 GB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.129e-05/0.1355, allocations: 184.2 kB / 0.49 GB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.1357, allocations: 311.7 kB / 0.4903 GB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.1357, allocations: 108.9 kB / 0.4904 GB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.23e-05/0.1358, allocations: 180.3 kB / 0.4905 GB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.528e-05/0.1359, allocations: 104.9 kB / 0.4906 GB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.136, allocations: 180.3 kB / 0.4908 GB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.465e-05/0.136, allocations: 112.9 kB / 0.4909 GB, free: 4.105 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.076e-05/0.1361, allocations: 111.1 kB / 0.491 GB, free: 3.996 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1361, allocations: 0 / 0.491 GB, free: 3.996 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009637/0.1371, allocations: 394.7 kB / 0.4914 GB, free: 3.609 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.001867/0.1389, allocations: 1.36 MB / 0.4927 GB, free: 2.223 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.781e-05/0.139, allocations: 19.94 kB / 0.4928 GB, free: 2.203 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.139, allocations: 0 / 0.4928 GB, free: 2.203 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.139, allocations: 0 / 0.4928 GB, free: 2.203 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.1395, allocations: 493.7 kB / 0.4932 GB, free: 1.719 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.1409, allocations: 1.561 MB / 0.4947 GB, free: 76 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.1412, allocations: 0.6808 MB / 0.4954 GB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.739e-05/0.1412, allocations: 0 / 0.4954 GB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.284e-05/0.1412, allocations: 11.44 kB / 0.4954 GB, free: 15.36 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1412, allocations: 0 / 0.4954 GB, free: 15.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03864/0.1799, allocations: 15.59 MB / 0.5106 GB, free: 15.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.85, allocations: 0 / 0.5106 GB, free: 15.77 MB / 398.1 MB " [Timeout remaining time 649] (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: 13.22237978305202] Failed to read output from testmodel.py, exit status != 0: 11.013883830979466 11.028572554 10.916004104 Calling exit ...