Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.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.ConvergenceTest.SinglePhase_setState_pramp_Tsine,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine",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.0009766/0.0009768, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006032/0.006032, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.272/1.272, allocations: 205.4 MB / 222.5 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04865/0.04865, allocations: 9.07 MB / 279.8 MB, free: 12.14 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.0004865/0.0004865, allocations: 12 kB / 339.8 MB, free: 25.53 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08182/0.08232, allocations: 49.18 MB / 389 MB, free: 8.305 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.01761/0.09997, allocations: 17.85 MB / 406.9 MB, free: 6.379 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01547/0.1155, allocations: 17.79 MB / 424.7 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.1158, allocations: 4 kB / 424.7 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007498/0.1165, allocations: 266.7 kB / 424.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004689/0.117, allocations: 210.7 kB / 425.1 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2009/0.3179, allocations: 5.992 MB / 431.1 MB, free: 15.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004704/0.3184, allocations: 344.2 kB / 431.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.451e-05/0.3184, allocations: 13.81 kB / 431.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003175/0.3188, allocations: 153.5 kB / 431.6 MB, free: 15.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.3189, allocations: 95.14 kB / 431.7 MB, free: 15.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.319, allocations: 4.312 kB / 431.7 MB, free: 15.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0186/0.3376, allocations: 9.696 MB / 441.4 MB, free: 15.44 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.072e-05/0.3377, allocations: 24.39 kB / 441.4 MB, free: 15.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002659/0.338, allocations: 122 kB / 441.6 MB, free: 15.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01405/0.352, allocations: 4.312 MB / 445.9 MB, free: 14.46 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3521, allocations: 3.938 kB / 445.9 MB, free: 14.46 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3521, allocations: 3.312 kB / 445.9 MB, free: 14.46 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3521, allocations: 0 / 445.9 MB, free: 14.46 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.002946/0.355, allocations: 1.082 MB / 447 MB, free: 13.7 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.3551, allocations: 9.375 kB / 447 MB, free: 13.7 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.092e-05/0.3552, allocations: 48.08 kB / 447 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/0.3552, allocations: 16.22 kB / 447 MB, free: 13.65 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.3553, allocations: 205.1 kB / 447.2 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3554, allocations: 7.406 kB / 447.2 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.3554, allocations: 4.562 kB / 447.2 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.3558, allocations: 180.5 kB / 447.4 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.3558, allocations: 3.938 kB / 447.4 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3558, allocations: 1.531 kB / 447.4 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.3558, allocations: 10.73 kB / 447.4 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000429/0.3563, allocations: 185.4 kB / 447.6 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000513/0.3568, allocations: 487.4 kB / 448.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.3571, allocations: 180.7 kB / 448.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.3573, allocations: 163.7 kB / 448.4 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1412/0.4986, allocations: 91.75 MB / 0.5275 GB, free: 8.043 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.4986, allocations: 34.56 kB / 0.5276 GB, free: 8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 2.906e-06/0.4986, allocations: 0 / 0.5276 GB, free: 8 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.001246/0.4999, allocations: 0.5019 MB / 0.528 GB, free: 7.496 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.5, allocations: 51.41 kB / 0.5281 GB, free: 7.434 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.5001, allocations: 138.1 kB / 0.5282 GB, free: 7.289 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.5002, allocations: 29.7 kB / 0.5283 GB, free: 7.254 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.5002, allocations: 89.14 kB / 0.5283 GB, free: 7.164 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.5004, allocations: 141.8 kB / 0.5285 GB, free: 7.027 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/0.5004, allocations: 31.23 kB / 0.5285 GB, free: 6.992 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.5006, allocations: 338.8 kB / 0.5288 GB, free: 6.652 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.5008, allocations: 132.4 kB / 0.529 GB, free: 6.523 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.5011, allocations: 130.1 kB / 0.5291 GB, free: 6.395 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005782/0.5017, allocations: 311 kB / 0.5294 GB, free: 6.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5017, allocations: 0 / 0.5294 GB, free: 6.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006578/0.5024, allocations: 358.5 kB / 0.5297 GB, free: 5.738 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.5024, allocations: 6.656 kB / 0.5297 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.5024, allocations: 11.44 kB / 0.5297 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.5024, allocations: 0 / 0.5297 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.5026, allocations: 27.97 kB / 0.5298 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.5026, allocations: 0 / 0.5298 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.5028, allocations: 45.42 kB / 0.5298 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.5028, allocations: 7.938 kB / 0.5298 GB, free: 5.648 MB / 414.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: 6 (state_Ts.phase,state_ps.phase,state_ph.phase,state_pd.phase,state_dT.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001211/0.503, allocations: 125.8 kB / 0.5299 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.503, allocations: 15.81 kB / 0.5299 GB, free: 5.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008169/0.5038, allocations: 426.5 kB / 0.5304 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.5039, allocations: 11.98 kB / 0.5304 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5039, allocations: 0.6562 kB / 0.5304 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5039, allocations: 0 / 0.5304 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.5042, allocations: 303.5 kB / 0.5307 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.5042, allocations: 0 / 0.5307 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.5044, allocations: 31.91 kB / 0.5307 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5044, allocations: 0 / 0.5307 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.5044, allocations: 8 kB / 0.5307 GB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.5044, allocations: 0 / 0.5307 GB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5044, allocations: 0 / 0.5307 GB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007675/0.5052, allocations: 471.7 kB / 0.5311 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.5053, allocations: 112.1 kB / 0.5312 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.5054, allocations: 4 kB / 0.5313 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.5055, allocations: 19.98 kB / 0.5313 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.5056, allocations: 15.98 kB / 0.5313 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.5056, allocations: 4 kB / 0.5313 GB, free: 4.051 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.751e-05/0.5057, allocations: 111 kB / 0.5314 GB, free: 3.945 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5057, allocations: 0 / 0.5314 GB, free: 3.945 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003144/0.5089, allocations: 1.114 MB / 0.5325 GB, free: 2.832 MB / 414.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: 6 (state.phase,state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.006671/0.5155, allocations: 2.57 MB / 0.535 GB, free: 420 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007445/0.5163, allocations: 325 kB / 0.5353 GB, free: 100 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5163, allocations: 0 / 0.5353 GB, free: 100 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.5167, allocations: 174.6 kB / 0.5355 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.5177, allocations: 156.5 kB / 0.5356 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.5206, allocations: 0.9873 MB / 0.5366 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.521, allocations: 0.737 MB / 0.5373 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000125/0.5211, allocations: 15.98 kB / 0.5373 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.917e-05/0.5212, allocations: 51.41 kB / 0.5374 GB, free: 13.93 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5212, allocations: 0 / 0.5374 GB, free: 13.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0592/0.5804, allocations: 32.92 MB / 0.5695 GB, free: 13.12 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/0.5807, allocations: 229.8 kB / 0.5697 GB, free: 12.86 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.826/3.407, allocations: 13.27 kB / 0.5698 GB, free: 12.86 MB / 462.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe 2>&1)