Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_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: "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001835/0.001835, allocations: 192.7 kB / 16.25 MB, free: 6.156 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.434/1.434, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04643/0.04643, allocations: 9.077 MB / 278.5 MB, free: 12.33 MB / 238.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.001437/0.001437, allocations: 71.84 kB / 337.6 MB, free: 25.66 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08987/0.09132, allocations: 48.15 MB / 385.8 MB, free: 9.469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01879/0.1101, allocations: 16.98 MB / 402.8 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.1205, allocations: 11.1 MB / 413.9 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.573e-05/0.1206, allocations: 0 / 413.9 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007003/0.1213, allocations: 243.6 kB / 414.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.14e-05/0.1215, allocations: 39.77 kB / 414.1 MB, free: 13 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231: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:1231:13-1231: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.01477/0.1362, allocations: 5.275 MB / 419.4 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.1364, allocations: 75.55 kB / 419.5 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.512e-05/0.1365, allocations: 8 kB / 419.5 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.581e-05/0.1366, allocations: 35.8 kB / 419.5 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.739e-05/0.1367, allocations: 19.94 kB / 419.6 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.1367, allocations: 0 / 419.6 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2065/0.3432, allocations: 8.417 MB / 428 MB, free: 21.35 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.3433, allocations: 5.672 kB / 428 MB, free: 21.35 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.764e-05/0.3434, allocations: 27.56 kB / 428 MB, free: 21.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01352/0.3569, allocations: 3.669 MB / 431.7 MB, free: 21.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3569, allocations: 0.6875 kB / 431.7 MB, free: 21.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3569, allocations: 1.031 kB / 431.7 MB, free: 21.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.357, allocations: 0.5 kB / 431.7 MB, free: 21.32 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.003347/0.3603, allocations: 0.7799 MB / 432.5 MB, free: 20.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.3604, allocations: 9.906 kB / 432.5 MB, free: 20.75 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.901e-05/0.3604, allocations: 35.97 kB / 432.5 MB, free: 20.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.3605, allocations: 9.672 kB / 432.5 MB, free: 20.71 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.378e-05/0.3606, allocations: 166.7 kB / 432.7 MB, free: 20.51 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3606, allocations: 6.531 kB / 432.7 MB, free: 20.51 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.3606, allocations: 1.609 kB / 432.7 MB, free: 20.51 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.3608, allocations: 59.64 kB / 432.7 MB, free: 20.47 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3608, allocations: 2.312 kB / 432.7 MB, free: 20.47 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.3608, allocations: 3.656 kB / 432.7 MB, free: 20.47 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.3608, allocations: 3.328 kB / 432.7 MB, free: 20.47 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.192e-05/0.3609, allocations: 25.02 kB / 432.8 MB, free: 20.47 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.361, allocations: 185.9 kB / 433 MB, free: 20.28 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.781e-05/0.3611, allocations: 50.69 kB / 433 MB, free: 20.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.258e-05/0.3612, allocations: 39.47 kB / 433 MB, free: 20.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06902/0.4302, allocations: 41.4 MB / 474.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.085e-05/0.4303, allocations: 30.56 kB / 474.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.846e-06/0.4303, allocations: 2.875 kB / 474.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002944/0.4306, allocations: 117 kB / 474.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.4306, allocations: 58.16 kB / 474.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.059e-05/0.4307, allocations: 97.88 kB / 474.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.4307, allocations: 25.7 kB / 474.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.759e-05/0.4308, allocations: 87.52 kB / 474.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.4308, allocations: 48.75 kB / 474.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.4309, allocations: 16.56 kB / 474.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.431, allocations: 322.4 kB / 475.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.936e-05/0.431, allocations: 23.53 kB / 475.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.63e-05/0.4311, allocations: 26.67 kB / 475.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.561e-05/0.4311, allocations: 69.12 kB / 475.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4311, allocations: 0.6875 kB / 475.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001071/0.4312, allocations: 102.4 kB / 475.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.4313, allocations: 3.562 kB / 475.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4313, allocations: 0 / 475.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.4313, allocations: 0 / 475.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.4313, allocations: 3.562 kB / 475.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.4313, allocations: 0 / 475.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.334e-05/0.4314, allocations: 7.797 kB / 475.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.4314, allocations: 8.047 kB / 475.5 MB, free: 13.39 MB / 350.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: 2 (state_ps.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.252e-05/0.4315, allocations: 112.9 kB / 475.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.4315, allocations: 7.875 kB / 475.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.4317, allocations: 155.1 kB / 475.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.4317, allocations: 0 / 475.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.4317, allocations: 11.58 kB / 475.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.4317, allocations: 3.938 kB / 475.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.4319, allocations: 167.8 kB / 475.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4319, allocations: 0 / 475.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.693e-06/0.4319, allocations: 3.938 kB / 475.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.4319, allocations: 3.984 kB / 475.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.4319, allocations: 0 / 475.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4319, allocations: 0 / 475.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4319, allocations: 3.562 kB / 475.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.631e-05/0.432, allocations: 96.81 kB / 476 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.641e-05/0.4321, allocations: 77.11 kB / 476.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.4321, allocations: 3.938 kB / 476.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.136e-05/0.4322, allocations: 3.594 kB / 476.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.4322, allocations: 1.312 kB / 476.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.4322, allocations: 7.922 kB / 476.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.771e-05/0.4323, allocations: 101.4 kB / 476.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4323, allocations: 0 / 476.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003315/0.4356, allocations: 0.8592 MB / 477.1 MB, free: 12.51 MB / 350.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: 1 (state_ps.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.005307/0.4409, allocations: 1.889 MB / 479 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001438/0.4411, allocations: 48.98 kB / 479 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.4411, allocations: 3.938 kB / 479 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.83e-05/0.4411, allocations: 11.16 kB / 479 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.4416, allocations: 66.5 kB / 479.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.4439, allocations: 1.666 MB / 480.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.4442, allocations: 0.6856 MB / 481.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.118e-05/0.4442, allocations: 3.75 kB / 481.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.4443, allocations: 19.06 kB / 481.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4443, allocations: 0 / 481.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05094/0.4952, allocations: 25.7 MB / 0.4953 GB, free: 1.574 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.4954, allocations: 201.6 kB / 0.4955 GB, free: 1.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.834/3.329, allocations: 0 / 0.4955 GB, free: 1.32 MB / 366.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1)