Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_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.001295/0.001295, 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.001455/0.001455, allocations: 219.7 kB / 22.26 MB, free: 5.125 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.398/1.398, allocations: 207.6 MB / 233 MB, free: 9.973 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.05192/0.05192, allocations: 9.148 MB / 294.4 MB, free: 12.68 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_ph_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_ph_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_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.00224/0.00224, allocations: 71.53 kB / 411.1 MB, free: 46.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06889/0.07113, allocations: 50.76 MB / 461.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.02143/0.09256, allocations: 16.95 MB / 478.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.104, allocations: 9.759 MB / 488.5 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.1041, allocations: 3.938 kB / 488.5 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006456/0.1047, allocations: 287.3 kB / 488.8 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.719e-05/0.1047, allocations: 23.84 kB / 488.8 MB, free: 1.613 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887: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 master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887: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.01216/0.1169, allocations: 5.403 MB / 494.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.713e-05/0.117, allocations: 51.52 kB / 494.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.117, allocations: 3.984 kB / 494.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.812e-05/0.1171, allocations: 23.88 kB / 494.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.544e-05/0.1172, allocations: 7.938 kB / 494.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.307e-06/0.1172, allocations: 3.984 kB / 494.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01377/0.1309, allocations: 8.316 MB / 0.4909 GB, free: 3.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.131, allocations: 0 / 0.4909 GB, free: 3.785 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.242e-05/0.131, allocations: 15.92 kB / 0.4909 GB, free: 3.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006199/0.1372, allocations: 3.32 MB / 0.4941 GB, free: 452 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1372, allocations: 0 / 0.4941 GB, free: 452 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1372, allocations: 0 / 0.4941 GB, free: 452 kB / 366.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1372, allocations: 4 kB / 0.4941 GB, free: 448 kB / 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.00144/0.1386, allocations: 0.6432 MB / 0.4947 GB, free: 15.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.1387, allocations: 15.98 kB / 0.4948 GB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.1387, allocations: 30.56 kB / 0.4948 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.1388, allocations: 3.953 kB / 0.4948 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.1389, allocations: 117.1 kB / 0.4949 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1389, allocations: 0 / 0.4949 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.1389, allocations: 0 / 0.4949 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.139, allocations: 45.69 kB / 0.495 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.139, allocations: 0 / 0.495 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.1391, allocations: 0 / 0.495 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1391, allocations: 0 / 0.495 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.8e-05/0.1391, allocations: 12 kB / 0.495 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.1393, allocations: 136.7 kB / 0.4951 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.235e-05/0.1394, allocations: 34.5 kB / 0.4951 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.808e-05/0.1394, allocations: 16.89 kB / 0.4951 GB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02299/0.1624, allocations: 4.382 MB / 0.4994 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.1624, allocations: 38.56 kB / 0.4995 GB, free: 10.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.585e-06/0.1624, allocations: 0 / 0.4995 GB, free: 10.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002412/0.1627, allocations: 85.55 kB / 0.4995 GB, free: 10.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.1627, allocations: 51.41 kB / 0.4996 GB, free: 10.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.1628, allocations: 101.8 kB / 0.4997 GB, free: 10.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1628, allocations: 29.86 kB / 0.4997 GB, free: 10.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.175e-05/0.1629, allocations: 80.14 kB / 0.4998 GB, free: 10.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.851e-05/0.1629, allocations: 19.84 kB / 0.4998 GB, free: 10.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.163, allocations: 13.72 kB / 0.4998 GB, free: 10.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1631, allocations: 314.8 kB / 0.5001 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.615e-05/0.1631, allocations: 11.98 kB / 0.5001 GB, free: 10.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.088e-05/0.1632, allocations: 16 kB / 0.5001 GB, free: 10.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.324e-05/0.1632, allocations: 32.84 kB / 0.5002 GB, free: 10.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1632, allocations: 32 / 0.5002 GB, free: 10.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001075/0.1633, allocations: 73.56 kB / 0.5002 GB, free: 9.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1633, allocations: 8 kB / 0.5003 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1633, allocations: 3.938 kB / 0.5003 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1634, allocations: 0 / 0.5003 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.1634, allocations: 0 / 0.5003 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1634, allocations: 0 / 0.5003 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.867e-05/0.1634, allocations: 11.83 kB / 0.5003 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.1634, allocations: 8 kB / 0.5003 GB, free: 9.91 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: 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 9.935e-05/0.1635, allocations: 109.8 kB / 0.5004 GB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.1635, allocations: 4.031 kB / 0.5004 GB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.1637, allocations: 171 kB / 0.5006 GB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.88e-05/0.1638, allocations: 184.2 kB / 0.5007 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.631e-05/0.1639, allocations: 184.3 kB / 0.5009 GB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.598e-05/0.164, allocations: 184.1 kB / 0.5011 GB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.1642, allocations: 388.2 kB / 0.5014 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.951e-05/0.1643, allocations: 101 kB / 0.5015 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.056e-05/0.1643, allocations: 108.9 kB / 0.5016 GB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.818e-05/0.1644, allocations: 176.3 kB / 0.5018 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.95e-05/0.1645, allocations: 180.2 kB / 0.502 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.546e-05/0.1646, allocations: 176.3 kB / 0.5022 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.605e-05/0.1647, allocations: 192.2 kB / 0.5023 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.1649, allocations: 303.7 kB / 0.5026 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.978e-05/0.1649, allocations: 104.9 kB / 0.5027 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.165, allocations: 188.2 kB / 0.5029 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.151e-05/0.1651, allocations: 105 kB / 0.503 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-05/0.1652, allocations: 188.1 kB / 0.5032 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/0.1653, allocations: 101 kB / 0.5033 GB, free: 6.621 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.55e-05/0.1654, allocations: 103.3 kB / 0.5034 GB, free: 6.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1654, allocations: 288 / 0.5034 GB, free: 6.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001868/0.1672, allocations: 0.7592 MB / 0.5041 GB, free: 5.758 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: 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.004031/0.1712, allocations: 1.917 MB / 0.506 GB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.1714, allocations: 23.92 kB / 0.506 GB, free: 3.789 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1714, allocations: 0 / 0.506 GB, free: 3.789 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.1714, allocations: 0 / 0.506 GB, free: 3.789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006462/0.172, allocations: 495.9 kB / 0.5065 GB, free: 3.301 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.1741, allocations: 1.697 MB / 0.5082 GB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.1745, allocations: 0.6768 MB / 0.5088 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.842e-05/0.1745, allocations: 7.969 kB / 0.5088 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.1745, allocations: 11.44 kB / 0.5088 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1745, allocations: 4.031 kB / 0.5088 GB, free: 0.793 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2387/0.4132, allocations: 23.35 MB / 0.5316 GB, free: 56.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.08, allocations: 10.47 kB / 0.5316 GB, free: 56.29 MB / 398.1 MB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_parameter_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.533034847816452] Failed to read output from testmodel.py, exit status != 0: 12.19968070089817 12.219413577 12.078163412 Calling exit ...