Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.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.Ancillary_Saturation,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_Saturation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_Saturation",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.0007402/0.0007403, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0007948/0.0007948, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.243/1.243, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.06844/0.06844, allocations: 9.066 MB / 279.5 MB, free: 12.23 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.000446/0.000446, allocations: 16 kB / 339.2 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07232/0.07278, allocations: 49.18 MB / 388.4 MB, free: 8.645 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.01466/0.08748, allocations: 16.87 MB / 405.3 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003625/0.09114, allocations: 4.603 MB / 409.9 MB, free: 3.094 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.49e-05/0.09119, allocations: 4 kB / 409.9 MB, free: 3.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000539/0.09174, allocations: 274.7 kB / 410.2 MB, free: 2.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.09287, allocations: 0.6153 MB / 410.8 MB, free: 2.203 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002453/0.09533, allocations: 1.416 MB / 412.2 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.0955, allocations: 163.1 kB / 412.3 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.243e-05/0.09556, allocations: 25.03 kB / 412.4 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.09572, allocations: 83.53 kB / 412.5 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.678e-05/0.09579, allocations: 51.78 kB / 412.5 MB, free: 484 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.09581, allocations: 3.984 kB / 412.5 MB, free: 480 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003656/0.09947, allocations: 2.774 MB / 415.3 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.0995, allocations: 15.92 kB / 415.3 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.09955, allocations: 49.58 kB / 415.3 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009651/0.1005, allocations: 0.8575 MB / 416.2 MB, free: 12.76 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1005, allocations: 0 / 416.2 MB, free: 12.76 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.1005, allocations: 3.984 kB / 416.2 MB, free: 12.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.1006, allocations: 0 / 416.2 MB, free: 12.75 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007159/0.1013, allocations: 0.6003 MB / 416.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1013, allocations: 12.03 kB / 416.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.358e-05/0.1014, allocations: 46.55 kB / 416.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.1014, allocations: 15.77 kB / 416.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.1015, allocations: 171 kB / 417 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1015, allocations: 8 kB / 417.1 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.1016, allocations: 4 kB / 417.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.1019, allocations: 213.5 kB / 417.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1019, allocations: 0 / 417.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.1019, allocations: 0 / 417.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.1019, allocations: 11.94 kB / 417.3 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003389/0.1023, allocations: 279.9 kB / 417.6 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000581/0.1029, allocations: 0.5182 MB / 418.1 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.1032, allocations: 258.4 kB / 418.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.1034, allocations: 200.9 kB / 418.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005162/0.1086, allocations: 7.227 MB / 425.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.1086, allocations: 34.56 kB / 425.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.412e-06/0.1086, allocations: 4 kB / 425.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.0007228/0.1094, allocations: 0.5808 MB / 426.4 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.1094, allocations: 55.41 kB / 426.4 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.242e-05/0.1095, allocations: 105.9 kB / 426.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.1095, allocations: 25.7 kB / 426.6 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.1095, allocations: 84.78 kB / 426.6 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.455e-05/0.1096, allocations: 114.3 kB / 426.7 MB, free: 424 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.1096, allocations: 4 kB / 426.7 MB, free: 420 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1097, allocations: 318.8 kB / 427.1 MB, free: 92 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1473/0.257, allocations: 151 kB / 427.2 MB, free: 28.81 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.2573, allocations: 154.9 kB / 427.4 MB, free: 28.81 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.2575, allocations: 154 kB / 427.5 MB, free: 28.81 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2575, allocations: 1.188 kB / 427.5 MB, free: 28.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004725/0.258, allocations: 387.7 kB / 427.9 MB, free: 28.78 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.258, allocations: 8.219 kB / 427.9 MB, free: 28.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.258, allocations: 1.875 kB / 427.9 MB, free: 28.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2581, allocations: 1.438 kB / 427.9 MB, free: 28.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.2582, allocations: 31.12 kB / 427.9 MB, free: 28.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2582, allocations: 1.203 kB / 427.9 MB, free: 28.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.712e-05/0.2583, allocations: 29.16 kB / 428 MB, free: 28.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.2583, allocations: 5.469 kB / 428 MB, free: 28.78 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.469e-05/0.2584, allocations: 121.1 kB / 428.1 MB, free: 28.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.2584, allocations: 13.64 kB / 428.1 MB, free: 28.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005364/0.259, allocations: 432.9 kB / 428.5 MB, free: 28.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.259, allocations: 7.281 kB / 428.5 MB, free: 28.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.259, allocations: 3.953 kB / 428.5 MB, free: 28.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.259, allocations: 2.359 kB / 428.5 MB, free: 28.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.2592, allocations: 283.6 kB / 428.8 MB, free: 28.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2592, allocations: 1.688 kB / 428.8 MB, free: 28.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.2593, allocations: 33.39 kB / 428.8 MB, free: 28.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2594, allocations: 0.6875 kB / 428.8 MB, free: 28.42 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.2594, allocations: 3.031 kB / 428.8 MB, free: 28.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.2594, allocations: 3.344 kB / 428.9 MB, free: 28.42 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2594, allocations: 0 / 428.9 MB, free: 28.42 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005375/0.2599, allocations: 493.3 kB / 429.3 MB, free: 28.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.26, allocations: 106 kB / 429.4 MB, free: 28.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.26, allocations: 5.094 kB / 429.4 MB, free: 28.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.952e-05/0.2601, allocations: 11.67 kB / 429.5 MB, free: 28.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.2601, allocations: 11.41 kB / 429.5 MB, free: 28.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.2602, allocations: 3.469 kB / 429.5 MB, free: 28.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.428e-05/0.2602, allocations: 89.39 kB / 429.6 MB, free: 28.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2602, allocations: 3.719 kB / 429.6 MB, free: 28.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000925/0.2611, allocations: 420.3 kB / 430 MB, free: 28.07 MB / 318.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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001771/0.2629, allocations: 1.55 MB / 431.5 MB, free: 27.4 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004678/0.2634, allocations: 383.1 kB / 431.9 MB, free: 27.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2634, allocations: 1.281 kB / 431.9 MB, free: 27.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002192/0.2636, allocations: 209.6 kB / 432.1 MB, free: 27.39 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.2641, allocations: 68.36 kB / 432.2 MB, free: 27.39 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007966/0.2649, allocations: 0.6269 MB / 432.8 MB, free: 27.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.2651, allocations: 0.7182 MB / 433.5 MB, free: 26.37 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.706e-05/0.2652, allocations: 22.22 kB / 433.5 MB, free: 26.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.2652, allocations: 35.23 kB / 433.6 MB, free: 26.36 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2652, allocations: 4 kB / 433.6 MB, free: 26.35 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.2933, allocations: 13.09 MB / 446.7 MB, free: 22.71 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001316/0.2934, allocations: 201.7 kB / 446.9 MB, free: 22.47 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.242, allocations: 3.688 kB / 446.9 MB, free: 22.47 MB / 318.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_Saturation_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-05 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_Saturation.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe 2>&1) Environment - environmentSimulation: