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.006013/0.006013, allocations: 100.6 kB / 15.73 MB, free: 6.469 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.001196/0.001196, allocations: 193.8 kB / 16.67 MB, free: 6.379 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.457/1.457, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0978/0.0978, allocations: 9.101 MB / 279 MB, free: 12.07 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.001762/0.001762, allocations: 71.88 kB / 387 MB, free: 8.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3174, allocations: 48.15 MB / 435.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.0211/0.3386, allocations: 18.23 MB / 453.3 MB, free: 9.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005383/0.344, allocations: 4.902 MB / 458.2 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.3442, allocations: 2 kB / 458.2 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.3453, allocations: 323.7 kB / 458.6 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.3473, allocations: 0.7031 MB / 459.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004628/0.3519, allocations: 1.794 MB / 461.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002782/0.3522, allocations: 170.9 kB / 461.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.3523, allocations: 7.25 kB / 461.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.3525, allocations: 100.7 kB / 461.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.852e-05/0.3526, allocations: 51.72 kB / 461.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.3526, allocations: 7.344 kB / 461.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005897/0.3585, allocations: 3.42 MB / 464.8 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/0.3586, allocations: 14.38 kB / 464.8 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.3587, allocations: 55.05 kB / 464.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002507/0.3612, allocations: 1.458 MB / 466.3 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3612, allocations: 1.469 kB / 466.3 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3612, allocations: 0 / 466.3 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.3613, allocations: 0 / 466.3 MB, free: 0.7656 MB / 334.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.0009783/0.3622, allocations: 0.6073 MB / 466.9 MB, free: 232 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.3623, allocations: 13.23 kB / 467 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.3624, allocations: 47.41 kB / 467 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.3624, allocations: 17.75 kB / 467 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.3626, allocations: 173.8 kB / 467.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3626, allocations: 6.562 kB / 467.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.3626, allocations: 5.188 kB / 467.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.3629, allocations: 193 kB / 467.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.363, allocations: 0 / 467.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.363, allocations: 4 kB / 467.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.363, allocations: 11.05 kB / 467.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.3634, allocations: 274.6 kB / 467.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006201/0.364, allocations: 0.5127 MB / 468.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.3644, allocations: 253.9 kB / 468.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.3646, allocations: 189.8 kB / 468.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006151/0.3708, allocations: 7.226 MB / 475.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.3708, allocations: 46.44 kB / 475.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.675e-06/0.3708, allocations: 0 / 475.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.0008183/0.3717, allocations: 0.5621 MB / 476.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.3717, allocations: 55.41 kB / 476.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.785e-05/0.3718, allocations: 113.8 kB / 476.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.3718, allocations: 25.7 kB / 476.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.3719, allocations: 84.8 kB / 476.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.97e-05/0.3719, allocations: 118.3 kB / 476.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.372, allocations: 37.61 kB / 476.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3721, allocations: 326.8 kB / 477.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.3723, allocations: 143.9 kB / 477.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.3726, allocations: 151.8 kB / 477.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/0.373, allocations: 325.8 kB / 477.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.373, allocations: 0 / 477.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004711/0.3735, allocations: 366.6 kB / 478.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3735, allocations: 11.88 kB / 478.2 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3735, allocations: 4 kB / 478.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3735, allocations: 4 kB / 478.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.3737, allocations: 23.98 kB / 478.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.3737, allocations: 3.938 kB / 478.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.575e-05/0.3738, allocations: 19.73 kB / 478.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.3738, allocations: 8 kB / 478.2 MB, free: 3.777 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.769e-05/0.3739, allocations: 117.8 kB / 478.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.3739, allocations: 15.84 kB / 478.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005738/0.3745, allocations: 416.2 kB / 478.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.3745, allocations: 11.98 kB / 478.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3745, allocations: 0 / 478.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3746, allocations: 3.938 kB / 478.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.3748, allocations: 282.6 kB / 479.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3748, allocations: 0 / 479.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.375, allocations: 23.98 kB / 479.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.375, allocations: 7.938 kB / 479.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.375, allocations: 8 kB / 479.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.375, allocations: 0 / 479.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.375, allocations: 3.984 kB / 479.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/0.3755, allocations: 476.1 kB / 479.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.738e-05/0.3756, allocations: 112.8 kB / 479.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.3756, allocations: 3.984 kB / 479.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.642e-05/0.3757, allocations: 12.25 kB / 479.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.3758, allocations: 7.984 kB / 479.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.3758, allocations: 11.94 kB / 479.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.095e-05/0.3759, allocations: 87.27 kB / 479.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3759, allocations: 0 / 479.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001216/0.3771, allocations: 415.7 kB / 480.2 MB, free: 1.703 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: 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 (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.002223/0.3793, allocations: 1.549 MB / 481.8 MB, free: 128 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005223/0.3798, allocations: 383.7 kB / 482.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3799, allocations: 0 / 482.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.3801, allocations: 199.9 kB / 482.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005397/0.3807, allocations: 67.7 kB / 482.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000957/0.3816, allocations: 0.5537 MB / 482.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.3819, allocations: 0.7127 MB / 483.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.26e-05/0.382, allocations: 16.88 kB / 483.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.494e-05/0.3821, allocations: 39.42 kB / 483.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3821, allocations: 0 / 483.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03916/0.4212, allocations: 13.56 MB / 497.3 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.86/8.282, allocations: 7 kB / 497.3 MB, free: 0.5625 MB / 366.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/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)