Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.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.BaseProps_sweep,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.BaseProps_sweep,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep",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.001507/0.001507, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001926/0.001926, allocations: 190.5 kB / 16.25 MB, free: 6.633 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.421/1.421, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04599/0.04599, allocations: 9.086 MB / 278.5 MB, free: 12.34 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.001384/0.001385, allocations: 67.84 kB / 337.6 MB, free: 25.67 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07859/0.07999, allocations: 48.15 MB / 385.8 MB, free: 9.488 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.01838/0.0984, allocations: 17.88 MB / 403.7 MB, free: 7.527 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1843/0.2827, allocations: 32.11 MB / 435.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.2829, allocations: 1.062 kB / 435.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.284, allocations: 393.5 kB / 436.1 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000348/0.2844, allocations: 125.2 kB / 436.3 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02084/0.3052, allocations: 8.481 MB / 444.8 MB, free: 9.895 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004498/0.3057, allocations: 390.2 kB / 445.1 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.013e-05/0.3057, allocations: 19.5 kB / 445.2 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.306, allocations: 169.8 kB / 445.3 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.3062, allocations: 115.7 kB / 445.4 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.3062, allocations: 17.5 kB / 445.4 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01575/0.322, allocations: 11.21 MB / 456.7 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.511e-05/0.3221, allocations: 40.31 kB / 456.7 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.3223, allocations: 109.2 kB / 456.8 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01101/0.3333, allocations: 4.751 MB / 461.6 MB, free: 4.188 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3333, allocations: 0 / 461.6 MB, free: 4.188 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3333, allocations: 0 / 461.6 MB, free: 4.188 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.3334, allocations: 0 / 461.6 MB, free: 4.188 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.002217/0.3356, allocations: 1.143 MB / 462.7 MB, free: 3.227 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3356, allocations: 8.031 kB / 462.7 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.167e-05/0.3357, allocations: 46.55 kB / 462.8 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.3359, allocations: 35.7 kB / 462.8 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.3361, allocations: 217.9 kB / 463 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.3361, allocations: 8 kB / 463 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.3361, allocations: 16 kB / 463 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.3367, allocations: 260.3 kB / 463.3 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3367, allocations: 0 / 463.3 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.3367, allocations: 8 kB / 463.3 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.3367, allocations: 8 kB / 463.3 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005677/0.3373, allocations: 223.9 kB / 463.5 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007416/0.338, allocations: 1.085 MB / 464.6 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004215/0.3385, allocations: 244.8 kB / 464.8 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.3387, allocations: 155.4 kB / 465 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08637/0.4251, allocations: 46.26 MB / 0.4993 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/0.4252, allocations: 45.52 kB / 0.4993 GB, free: 10.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.304e-06/0.4252, allocations: 0 / 0.4993 GB, free: 10.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001527/0.4267, allocations: 465 kB / 0.4998 GB, free: 10.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.4268, allocations: 132.5 kB / 0.4999 GB, free: 9.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.427, allocations: 180 kB / 0.5001 GB, free: 9.809 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.427, allocations: 25.7 kB / 0.5001 GB, free: 9.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.4271, allocations: 120.4 kB / 0.5002 GB, free: 9.656 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.203e-05/0.4272, allocations: 97.25 kB / 0.5003 GB, free: 9.562 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.371e-05/0.4273, allocations: 45.72 kB / 0.5003 GB, free: 9.512 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4274, allocations: 330.8 kB / 0.5006 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.4277, allocations: 107.9 kB / 0.5007 GB, free: 9.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.428, allocations: 165.9 kB / 0.5009 GB, free: 8.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005623/0.4286, allocations: 282.6 kB / 0.5012 GB, free: 8.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4286, allocations: 0 / 0.5012 GB, free: 8.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006812/0.4293, allocations: 325.9 kB / 0.5015 GB, free: 8.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4293, allocations: 4 kB / 0.5015 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4293, allocations: 0 / 0.5015 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.4293, allocations: 4 kB / 0.5015 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.4296, allocations: 56.08 kB / 0.5015 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.4296, allocations: 4 kB / 0.5015 GB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.4299, allocations: 31.75 kB / 0.5016 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.4299, allocations: 11.94 kB / 0.5016 GB, free: 8.164 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.sat.vap.phase,medium.sat.liq.phase,medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 0.0001242/0.43, allocations: 133.7 kB / 0.5017 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.4301, allocations: 31.7 kB / 0.5017 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000643/0.4308, allocations: 360.9 kB / 0.5021 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.4308, allocations: 4 kB / 0.5021 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.4308, allocations: 4 kB / 0.5021 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.4308, allocations: 3.984 kB / 0.5021 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004981/0.4313, allocations: 320.1 kB / 0.5024 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4313, allocations: 0 / 0.5024 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.4316, allocations: 43.89 kB / 0.5025 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4316, allocations: 1.078 kB / 0.5025 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.4316, allocations: 10.53 kB / 0.5025 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.4316, allocations: 0 / 0.5025 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.4316, allocations: 4 kB / 0.5025 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007667/0.4324, allocations: 0.6439 MB / 0.5031 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.679e-05/0.4325, allocations: 96.86 kB / 0.5032 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.4325, allocations: 3.938 kB / 0.5032 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.4329, allocations: 31.81 kB / 0.5032 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/0.433, allocations: 19.97 kB / 0.5032 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.433, allocations: 8 kB / 0.5032 GB, free: 6.379 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.72e-05/0.4331, allocations: 128 kB / 0.5034 GB, free: 6.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4331, allocations: 0 / 0.5034 GB, free: 6.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00226/0.4354, allocations: 0.7964 MB / 0.5041 GB, free: 5.457 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,medium.state.phase,medium.sat.liq.phase,medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 0.004661/0.44, allocations: 2.269 MB / 0.5064 GB, free: 3.273 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007254/0.4408, allocations: 283.7 kB / 0.5066 GB, free: 2.996 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4408, allocations: 0 / 0.5066 GB, free: 2.996 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.4411, allocations: 168.4 kB / 0.5068 GB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008513/0.442, allocations: 95.61 kB / 0.5069 GB, free: 2.742 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004398/0.4464, allocations: 3.1 MB / 0.5099 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.4467, allocations: 0.7363 MB / 0.5106 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001912/0.4469, allocations: 44.72 kB / 0.5107 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.4471, allocations: 67.41 kB / 0.5107 GB, free: 14.64 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4471, allocations: 0 / 0.5107 GB, free: 14.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04654/0.4936, allocations: 26.79 MB / 0.5369 GB, free: 3.859 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.4939, allocations: 192 kB / 0.5371 GB, free: 3.605 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.686/3.18, allocations: 0 / 0.5371 GB, free: 3.605 MB / 414.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-05 HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep.fmu > HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe 2>&1)