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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Parameter.State_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 111.6 kB / 16.41 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 187.7 kB / 17.34 MB, free: 5.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04519/0.04519, allocations: 9.089 MB / 279.7 MB, free: 2.965 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 70.53 kB / 388.1 MB, free: 47.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06904/0.07055, allocations: 48.18 MB / 436.3 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01599/0.08657, allocations: 16.84 MB / 453.1 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009446/0.09605, allocations: 9.743 MB / 462.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.592e-05/0.0961, allocations: 4 kB / 462.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005911/0.09672, allocations: 283.3 kB / 463.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.881e-05/0.09677, allocations: 23.84 kB / 463.2 MB, free: 12.66 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.01074/0.1075, allocations: 5.334 MB / 468.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.239e-05/0.1076, allocations: 43.75 kB / 468.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.1077, allocations: 3.984 kB / 468.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.386e-05/0.1077, allocations: 27.81 kB / 468.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.193e-05/0.1078, allocations: 7.938 kB / 468.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.756e-06/0.1078, allocations: 3.984 kB / 468.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01195/0.1198, allocations: 7.848 MB / 476.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.1198, allocations: 0 / 476.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.517e-05/0.1198, allocations: 15.94 kB / 476.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006122/0.126, allocations: 3.304 MB / 479.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.126, allocations: 0 / 479.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.126, allocations: 0 / 479.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.126, allocations: 0 / 479.8 MB, free: 12.04 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.001428/0.1274, allocations: 0.7145 MB / 480.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1275, allocations: 12.03 kB / 480.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.056e-05/0.1275, allocations: 3.953 kB / 480.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.1276, allocations: 171 kB / 480.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.1276, allocations: 11.94 kB / 480.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.1277, allocations: 7.984 kB / 480.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.1278, allocations: 37.64 kB / 480.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.1278, allocations: 0 / 480.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.1278, allocations: 3.938 kB / 480.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.1278, allocations: 11.98 kB / 480.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.726e-05/0.1279, allocations: 8 kB / 480.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.128, allocations: 165.6 kB / 480.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.254e-05/0.1281, allocations: 34.58 kB / 480.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.4e-05/0.1281, allocations: 20.88 kB / 481 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02532/0.1535, allocations: 14 MB / 494.9 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.1535, allocations: 38.5 kB / 495 MB, free: 10.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.706e-06/0.1535, allocations: 0 / 495 MB, free: 10.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002007/0.1537, allocations: 73.64 kB / 495.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.1538, allocations: 51.41 kB / 495.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.002e-05/0.1539, allocations: 101.8 kB / 495.2 MB, free: 10.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.1539, allocations: 25.7 kB / 495.2 MB, free: 9.977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.1539, allocations: 84.14 kB / 495.3 MB, free: 9.891 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.99e-05/0.154, allocations: 23.95 kB / 495.3 MB, free: 9.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.154, allocations: 13.72 kB / 495.4 MB, free: 9.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1542, allocations: 322.8 kB / 495.7 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.445e-05/0.1542, allocations: 12 kB / 495.7 MB, free: 9.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.933e-05/0.1542, allocations: 12 kB / 495.7 MB, free: 9.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.114e-05/0.1543, allocations: 32.78 kB / 495.7 MB, free: 9.465 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1543, allocations: 0 / 495.7 MB, free: 9.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001022/0.1544, allocations: 65.67 kB / 495.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1544, allocations: 6.031 kB / 495.8 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1544, allocations: 8.375 kB / 495.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1545, allocations: 0 / 495.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-06/0.1545, allocations: 0 / 495.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.1545, allocations: 0 / 495.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.218e-05/0.1545, allocations: 3.953 kB / 495.8 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.1545, allocations: 11.91 kB / 495.8 MB, free: 9.367 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 7.876e-05/0.1546, allocations: 114.7 kB / 495.9 MB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-06/0.1546, allocations: 0 / 495.9 MB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.1548, allocations: 174.8 kB / 496.1 MB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.412e-05/0.1549, allocations: 184.2 kB / 496.3 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.68e-05/0.1549, allocations: 108.9 kB / 496.4 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.067e-05/0.155, allocations: 178.1 kB / 496.6 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.302e-05/0.1551, allocations: 192.1 kB / 496.7 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-05/0.1552, allocations: 104.9 kB / 496.8 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/0.1553, allocations: 184.2 kB / 497 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.597e-05/0.1554, allocations: 259.5 kB / 497.3 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001827/0.1556, allocations: 383 kB / 497.7 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.894e-05/0.1556, allocations: 101 kB / 497.8 MB, free: 7.281 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.485e-05/0.1557, allocations: 103.3 kB / 497.9 MB, free: 7.18 MB / 382.1 MB Notification: Performance of Backend: time 6.91e-07/0.1557, allocations: 4 kB / 497.9 MB, free: 7.176 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003824/0.1596, allocations: 1.211 MB / 499.1 MB, free: 5.961 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006886/0.1603, allocations: 0.9004 MB / 500 MB, free: 5.012 MB / 382.1 MB Notification: Performance of Templates: time 0.03203/0.1923, allocations: 21.96 MB / 0.5097 GB, free: 15.03 MB / 414.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.makefile (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe 2>&1)