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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007826/0.0007826, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008164/0.0008164, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8762/0.8762, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.02895/0.02895, allocations: 7.509 MB / 266.7 MB, free: 6.199 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.667e-06/3.667e-06, allocations: 0 / 391.7 MB, free: 6.367 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.298e-05/3.665e-05, allocations: 9.234 kB / 391.7 MB, free: 6.359 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.01393/0.01397, allocations: 16.58 MB / 408.3 MB, free: 5.707 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003063/0.01703, allocations: 4.334 MB / 412.7 MB, free: 1.359 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.595e-05/0.0171, allocations: 3.938 kB / 412.7 MB, free: 1.355 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005999/0.0177, allocations: 282.5 kB / 412.9 MB, free: 1.078 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.01887, allocations: 0.7356 MB / 413.7 MB, free: 348 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.02121, allocations: 1.922 MB / 415.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.02137, allocations: 182.9 kB / 415.8 MB, free: 14.24 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.02141, allocations: 5.312 kB / 415.8 MB, free: 14.23 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.02159, allocations: 131.5 kB / 415.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.393e-05/0.02164, allocations: 39.91 kB / 415.9 MB, free: 14.06 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.02165, allocations: 4 kB / 415.9 MB, free: 14.06 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00251/0.02416, allocations: 2.623 MB / 418.6 MB, free: 11.43 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.02418, allocations: 19.91 kB / 418.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.02422, allocations: 31.94 kB / 418.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.02549, allocations: 1.547 MB / 420.2 MB, free: 9.828 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.02549, allocations: 0 / 420.2 MB, free: 9.828 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.02549, allocations: 0 / 420.2 MB, free: 9.828 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.0255, allocations: 0 / 420.2 MB, free: 9.828 MB / 394.7 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.0005816/0.02608, allocations: 0.5504 MB / 420.7 MB, free: 9.246 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.02611, allocations: 12.62 kB / 420.7 MB, free: 9.234 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.211e-05/0.02614, allocations: 42.55 kB / 420.8 MB, free: 9.184 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.02617, allocations: 15.84 kB / 420.8 MB, free: 9.168 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.158e-05/0.02625, allocations: 113.1 kB / 420.9 MB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.02626, allocations: 15.92 kB / 420.9 MB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.02627, allocations: 4 kB / 420.9 MB, free: 9.012 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.02647, allocations: 206.5 kB / 421.1 MB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.02648, allocations: 3.938 kB / 421.1 MB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.02649, allocations: 4 kB / 421.1 MB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.0265, allocations: 11.98 kB / 421.1 MB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.02672, allocations: 279.8 kB / 421.4 MB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.02716, allocations: 0.4942 MB / 421.9 MB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.02735, allocations: 206.5 kB / 422.1 MB, free: 7.766 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.02746, allocations: 157 kB / 422.3 MB, free: 7.609 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001605/0.02907, allocations: 0.8022 MB / 423.1 MB, free: 6.809 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.02909, allocations: 38.5 kB / 423.1 MB, free: 6.762 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 1.062e-06/0.02909, allocations: 0 / 423.1 MB, free: 6.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004985/0.02959, allocations: 0.5994 MB / 423.7 MB, free: 6.156 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.02961, allocations: 55.41 kB / 423.7 MB, free: 6.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.867e-05/0.02966, allocations: 105.8 kB / 423.9 MB, free: 5.977 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.02967, allocations: 29.7 kB / 423.9 MB, free: 5.941 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.865e-05/0.0297, allocations: 80.8 kB / 424 MB, free: 5.855 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.626e-05/0.02976, allocations: 122.8 kB / 424.1 MB, free: 5.734 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.02979, allocations: 41.7 kB / 424.1 MB, free: 5.688 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.28e-05/0.02987, allocations: 318.8 kB / 424.4 MB, free: 5.367 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.02998, allocations: 159.9 kB / 424.6 MB, free: 5.211 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.03009, allocations: 151.9 kB / 424.7 MB, free: 5.062 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.03033, allocations: 343.1 kB / 425.1 MB, free: 4.727 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.03033, allocations: 0 / 425.1 MB, free: 4.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000535/0.03086, allocations: 382.5 kB / 425.4 MB, free: 4.348 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.03088, allocations: 7.938 kB / 425.5 MB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.03088, allocations: 4 kB / 425.5 MB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.0309, allocations: 7.938 kB / 425.5 MB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.466e-05/0.03097, allocations: 31.91 kB / 425.5 MB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.03098, allocations: 0 / 425.5 MB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.551e-05/0.03101, allocations: 15.89 kB / 425.5 MB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.03102, allocations: 7.984 kB / 425.5 MB, free: 4.273 MB / 394.7 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 5.714e-05/0.03108, allocations: 113.8 kB / 425.6 MB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.0311, allocations: 15.91 kB / 425.6 MB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.03145, allocations: 428.2 kB / 426.1 MB, free: 3.711 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.03146, allocations: 15.86 kB / 426.1 MB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.03146, allocations: 0 / 426.1 MB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.03147, allocations: 0 / 426.1 MB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.03163, allocations: 261.8 kB / 426.3 MB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.03163, allocations: 0 / 426.3 MB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/0.03168, allocations: 23.98 kB / 426.4 MB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.03168, allocations: 3.984 kB / 426.4 MB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.03169, allocations: 8 kB / 426.4 MB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.03169, allocations: 4.188 kB / 426.4 MB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.03169, allocations: 8 kB / 426.4 MB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.032, allocations: 492.3 kB / 426.9 MB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.03203, allocations: 39.73 kB / 426.9 MB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.03205, allocations: 4 kB / 426.9 MB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.03209, allocations: 11.94 kB / 426.9 MB, free: 2.797 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.03212, allocations: 11.97 kB / 426.9 MB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-06/0.03213, allocations: 0 / 426.9 MB, free: 2.785 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.714e-05/0.03216, allocations: 87.28 kB / 427 MB, free: 2.699 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03216, allocations: 0 / 427 MB, free: 2.699 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004537/0.03261, allocations: 430.6 kB / 427.4 MB, free: 2.277 MB / 394.7 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.001278/0.03389, allocations: 1.606 MB / 429 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002866/0.03417, allocations: 343.5 kB / 429.4 MB, free: 320 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.03418, allocations: 0 / 429.4 MB, free: 320 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.03429, allocations: 163.9 kB / 429.5 MB, free: 156 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.0346, allocations: 78.02 kB / 429.6 MB, free: 80 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006212/0.03522, allocations: 0.5531 MB / 430.2 MB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.196e-05/0.03527, allocations: 102.2 kB / 430.3 MB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.814e-05/0.03532, allocations: 18.98 kB / 430.3 MB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.03537, allocations: 44.48 kB / 430.3 MB, free: 15.31 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03537, allocations: 0 / 430.3 MB, free: 15.31 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.05948, allocations: 14.45 MB / 444.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.003/7.063, allocations: 10.11 kB / 444.8 MB, free: 1.031 MB / 410.7 MB " [Timeout remaining time 653] (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 --stepSize=0.0028 --timeout=50 --tolerance=1e-05 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_Saturation.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.163234694860876] Failed to read output from testmodel.py, exit status != 0: 7.2969942996278405 7.305278838 7.278306752 Calling exit ...