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.001896/0.001896, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002288/0.002288, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.341/1.341, allocations: 207.7 MB / 233.9 MB, free: 9.785 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.04954/0.04954, allocations: 9.154 MB / 295.3 MB, free: 12.52 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.002068/0.002068, allocations: 71.09 kB / 411.8 MB, free: 46.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07545/0.07752, allocations: 50.75 MB / 462.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.0188/0.09631, allocations: 15.34 MB / 477.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.09827, allocations: 1.639 MB / 479.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.0983, allocations: 0 / 479.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006658/0.09897, allocations: 239.8 kB / 479.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.128e-05/0.09901, allocations: 23.84 kB / 479.8 MB, free: 11.24 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.006563/0.1056, allocations: 2.882 MB / 482.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.559e-05/0.1057, allocations: 51.72 kB / 482.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.1057, allocations: 15.94 kB / 482.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.511e-05/0.1058, allocations: 31.8 kB / 482.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.362e-05/0.1058, allocations: 4 kB / 482.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.484e-06/0.1058, allocations: 0 / 482.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005045/0.1109, allocations: 3.423 MB / 486.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.1109, allocations: 0 / 486.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.1109, allocations: 15.92 kB / 486.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002672/0.1136, allocations: 1.555 MB / 487.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1136, allocations: 0 / 487.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1136, allocations: 0 / 487.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.1136, allocations: 0 / 487.8 MB, free: 3.242 MB / 350.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.0007013/0.1143, allocations: 444.3 kB / 488.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1143, allocations: 19.92 kB / 488.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.996e-05/0.1144, allocations: 4 kB / 488.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.84e-05/0.1144, allocations: 30.56 kB / 488.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.485e-05/0.1144, allocations: 11.95 kB / 488.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.679e-05/0.1145, allocations: 117.1 kB / 488.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-06/0.1145, allocations: 0 / 488.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-06/0.1145, allocations: 0 / 488.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.939e-05/0.1146, allocations: 41.64 kB / 488.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1146, allocations: 0 / 488.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.1146, allocations: 4 kB / 488.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1146, allocations: 3.984 kB / 488.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.454e-05/0.1147, allocations: 12 kB / 488.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.1148, allocations: 136.7 kB / 488.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.238e-05/0.1149, allocations: 26.58 kB / 488.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.1149, allocations: 28.88 kB / 488.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02459/0.1395, allocations: 5.733 MB / 494.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.1395, allocations: 38.5 kB / 494.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 3.086e-06/0.1395, allocations: 0 / 494.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.000233/0.1398, allocations: 73.92 kB / 494.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.1398, allocations: 55.39 kB / 494.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.991e-05/0.1399, allocations: 97.86 kB / 494.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1399, allocations: 25.7 kB / 494.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.14, allocations: 80.14 kB / 494.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.572e-05/0.14, allocations: 31.72 kB / 494.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.14, allocations: 13.7 kB / 494.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1402, allocations: 318.8 kB / 495.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.223e-05/0.1402, allocations: 12 kB / 495.1 MB, free: 11.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.171e-05/0.1402, allocations: 19.97 kB / 495.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.826e-05/0.1403, allocations: 36.98 kB / 495.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1403, allocations: 0 / 495.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.24e-05/0.1404, allocations: 65.64 kB / 495.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1404, allocations: 8 kB / 495.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1404, allocations: 0 / 495.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.1404, allocations: 3.984 kB / 495.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.1404, allocations: 0 / 495.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1404, allocations: 0 / 495.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.1405, allocations: 3.938 kB / 495.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.1405, allocations: 7.938 kB / 495.3 MB, free: 11.57 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 8.495e-05/0.1405, allocations: 109.9 kB / 495.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.1406, allocations: 7.953 kB / 495.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001669/0.1407, allocations: 174.9 kB / 495.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.861e-05/0.1408, allocations: 180.3 kB / 495.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.562e-05/0.1409, allocations: 184.2 kB / 495.9 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.909e-05/0.141, allocations: 176.3 kB / 496.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.1412, allocations: 388.2 kB / 496.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.491e-05/0.1413, allocations: 101 kB / 496.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.1413, allocations: 101 kB / 496.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-05/0.1414, allocations: 184.2 kB / 496.8 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.109e-05/0.1415, allocations: 184.2 kB / 497 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.914e-05/0.1416, allocations: 184.2 kB / 497.2 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-05/0.1416, allocations: 184.3 kB / 497.4 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.1418, allocations: 311.7 kB / 497.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.1418, allocations: 112.9 kB / 497.8 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.73e-05/0.1419, allocations: 180.2 kB / 498 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.141e-05/0.142, allocations: 101 kB / 498.1 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.893e-05/0.1421, allocations: 180.3 kB / 498.2 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.1422, allocations: 112.8 kB / 498.3 MB, free: 8.266 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.537e-05/0.1422, allocations: 99.22 kB / 498.4 MB, free: 8.168 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1422, allocations: 0 / 498.4 MB, free: 8.168 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001255/0.1435, allocations: 398.8 kB / 498.8 MB, free: 7.777 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.002269/0.1458, allocations: 1.368 MB / 0.4885 GB, free: 6.387 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.794e-05/0.1459, allocations: 12 kB / 0.4885 GB, free: 6.375 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1459, allocations: 0 / 0.4885 GB, free: 6.375 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.681e-06/0.1459, allocations: 12.34 kB / 0.4885 GB, free: 6.363 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005899/0.1465, allocations: 492.9 kB / 0.489 GB, free: 5.879 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.1482, allocations: 1.554 MB / 0.4905 GB, free: 4.242 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.961e-05/0.1483, allocations: 63.52 kB / 0.4905 GB, free: 4.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.812e-05/0.1483, allocations: 4 kB / 0.4905 GB, free: 4.156 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.1484, allocations: 7.438 kB / 0.4906 GB, free: 4.148 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1484, allocations: 0 / 0.4906 GB, free: 4.148 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03958/0.1879, allocations: 15.75 MB / 0.5059 GB, free: 4.414 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.36, allocations: 20.69 kB / 0.506 GB, free: 4.398 MB / 382.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: 13.846880535013042] Failed to read output from testmodel.py, exit status != 0: 11.531763280974701 11.554346831 11.437411242 Calling exit ...