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.001254/0.001254, 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.001415/0.001415, allocations: 220.2 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.342/1.342, allocations: 207.7 MB / 233.9 MB, free: 9.789 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.05076/0.05076, allocations: 9.152 MB / 295.3 MB, free: 12.53 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_ph_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_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.002075/0.002075, allocations: 75.67 kB / 411.8 MB, free: 46.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07542/0.07749, allocations: 50.75 MB / 462.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01953/0.09702, allocations: 15.29 MB / 477.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009453/0.1065, allocations: 8.619 MB / 486.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.116e-05/0.1065, allocations: 4 kB / 486.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006533/0.1072, allocations: 223.4 kB / 486.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.534e-05/0.1072, allocations: 27.84 kB / 486.7 MB, free: 4.305 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.01187/0.1191, allocations: 5.286 MB / 492 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.1192, allocations: 55.66 kB / 492.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.712e-05/0.1192, allocations: 0 / 492.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.402e-05/0.1193, allocations: 31.8 kB / 492.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.492e-05/0.1194, allocations: 8 kB / 492.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.155e-06/0.1194, allocations: 0 / 492.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009584/0.129, allocations: 5.754 MB / 497.9 MB, free: 9.148 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.129, allocations: 3.938 kB / 497.9 MB, free: 9.145 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.129, allocations: 8 kB / 497.9 MB, free: 9.137 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005809/0.1348, allocations: 2.743 MB / 0.4889 GB, free: 6.387 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1348, allocations: 0 / 0.4889 GB, free: 6.387 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1348, allocations: 0 / 0.4889 GB, free: 6.387 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1348, allocations: 7.938 kB / 0.4889 GB, free: 6.379 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.001148/0.136, allocations: 0.6353 MB / 0.4895 GB, free: 5.711 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.136, allocations: 11.98 kB / 0.4895 GB, free: 5.699 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.917e-05/0.1361, allocations: 8 kB / 0.4895 GB, free: 5.691 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.97e-05/0.1361, allocations: 30.56 kB / 0.4896 GB, free: 5.652 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.1361, allocations: 7.938 kB / 0.4896 GB, free: 5.645 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.1362, allocations: 113.2 kB / 0.4897 GB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.1362, allocations: 0 / 0.4897 GB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-06/0.1362, allocations: 0 / 0.4897 GB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.876e-05/0.1363, allocations: 37.7 kB / 0.4897 GB, free: 5.465 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1363, allocations: 3.938 kB / 0.4897 GB, free: 5.461 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-06/0.1363, allocations: 4 kB / 0.4897 GB, free: 5.457 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.1364, allocations: 7.984 kB / 0.4897 GB, free: 5.449 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.587e-05/0.1364, allocations: 12 kB / 0.4897 GB, free: 5.438 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.1366, allocations: 136.6 kB / 0.4899 GB, free: 5.262 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.837e-05/0.1366, allocations: 34.56 kB / 0.4899 GB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.937e-05/0.1366, allocations: 28.8 kB / 0.4899 GB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02172/0.1584, allocations: 4.397 MB / 0.4942 GB, free: 0.7812 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.1584, allocations: 34.5 kB / 0.4943 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.756e-06/0.1584, allocations: 0 / 0.4943 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002425/0.1586, allocations: 81.64 kB / 0.4943 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.1587, allocations: 51.41 kB / 0.4944 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.118e-05/0.1588, allocations: 97.8 kB / 0.4945 GB, free: 496 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.1588, allocations: 29.69 kB / 0.4945 GB, free: 460 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.1588, allocations: 80.14 kB / 0.4946 GB, free: 376 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.1589, allocations: 19.86 kB / 0.4946 GB, free: 356 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.1589, allocations: 13.72 kB / 0.4946 GB, free: 336 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.159, allocations: 322.8 kB / 0.4949 GB, free: 4 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.79e-05/0.1591, allocations: 12.08 kB / 0.4949 GB, free: 15.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.882e-05/0.1591, allocations: 12.16 kB / 0.4949 GB, free: 15.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.418e-05/0.1592, allocations: 44.81 kB / 0.495 GB, free: 15.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1592, allocations: 0 / 0.495 GB, free: 15.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.312e-05/0.1593, allocations: 61.59 kB / 0.495 GB, free: 15.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1593, allocations: 6.344 kB / 0.495 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1593, allocations: 0 / 0.495 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1593, allocations: 0 / 0.495 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.1593, allocations: 4 kB / 0.4951 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.1593, allocations: 3.938 kB / 0.4951 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.293e-05/0.1593, allocations: 7.891 kB / 0.4951 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.1593, allocations: 7.984 kB / 0.4951 GB, free: 15.84 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.656e-05/0.1594, allocations: 117.9 kB / 0.4952 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-06/0.1594, allocations: 0 / 0.4952 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001748/0.1596, allocations: 174.9 kB / 0.4954 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.327e-05/0.1597, allocations: 180.2 kB / 0.4955 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.507e-05/0.1598, allocations: 184.1 kB / 0.4957 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.377e-05/0.1599, allocations: 180.3 kB / 0.4959 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.1601, allocations: 384.2 kB / 0.4962 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-05/0.1602, allocations: 105 kB / 0.4963 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.532e-05/0.1602, allocations: 101 kB / 0.4964 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.822e-05/0.1603, allocations: 184.2 kB / 0.4966 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.061e-05/0.1604, allocations: 184.3 kB / 0.4968 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-05/0.1604, allocations: 184.2 kB / 0.497 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.445e-05/0.1605, allocations: 180.2 kB / 0.4971 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.1607, allocations: 311.7 kB / 0.4974 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.1607, allocations: 105 kB / 0.4975 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.033e-05/0.1608, allocations: 184.2 kB / 0.4977 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.881e-05/0.1609, allocations: 101 kB / 0.4978 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/0.161, allocations: 184.2 kB / 0.498 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.757e-05/0.161, allocations: 108.9 kB / 0.4981 GB, free: 12.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.586e-05/0.1611, allocations: 99.27 kB / 0.4982 GB, free: 12.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1611, allocations: 3.938 kB / 0.4982 GB, free: 12.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001907/0.163, allocations: 0.7671 MB / 0.4989 GB, free: 11.68 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.003422/0.1664, allocations: 1.906 MB / 0.5008 GB, free: 9.742 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.1665, allocations: 19.98 kB / 0.5008 GB, free: 9.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1665, allocations: 0 / 0.5008 GB, free: 9.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.1665, allocations: 0 / 0.5008 GB, free: 9.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006082/0.1671, allocations: 495.9 kB / 0.5013 GB, free: 9.238 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.1691, allocations: 1.701 MB / 0.5029 GB, free: 7.453 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.72e-05/0.1691, allocations: 63.33 kB / 0.503 GB, free: 7.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.244e-05/0.1691, allocations: 4 kB / 0.503 GB, free: 7.367 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.1692, allocations: 15.44 kB / 0.503 GB, free: 7.352 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1692, allocations: 0 / 0.503 GB, free: 7.352 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2229/0.3921, allocations: 23.56 MB / 0.526 GB, free: 73.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.85, allocations: 5.5 kB / 0.526 GB, free: 73.85 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.35807856998872] Failed to read output from testmodel.py, exit status != 0: 12.021873277029954 12.036818683 11.898946798 Calling exit ...