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.001144/0.001144, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001252/0.001252, allocations: 177.3 kB / 15.94 MB, free: 228 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.503/1.503, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.06791/0.06791, allocations: 9.063 MB / 279.4 MB, free: 12.25 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.0007462/0.0007462, allocations: 20 kB / 339.2 MB, free: 25.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09883/0.09959, allocations: 49.18 MB / 388.4 MB, free: 8.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.01663/0.1163, allocations: 15.28 MB / 403.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004409/0.1207, allocations: 4.335 MB / 408 MB, free: 4.988 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.1208, allocations: 0 / 408 MB, free: 4.988 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008493/0.1217, allocations: 283 kB / 408.3 MB, free: 4.711 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001875/0.1236, allocations: 0.6186 MB / 408.9 MB, free: 4.094 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004198/0.1278, allocations: 1.463 MB / 410.4 MB, free: 2.633 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.128, allocations: 119.8 kB / 410.5 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.095e-05/0.1281, allocations: 13.06 kB / 410.5 MB, free: 2.504 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.1284, allocations: 115.5 kB / 410.6 MB, free: 2.391 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.393e-05/0.1285, allocations: 47.78 kB / 410.6 MB, free: 2.344 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.1285, allocations: 8 kB / 410.6 MB, free: 2.336 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005495/0.134, allocations: 3.108 MB / 413.8 MB, free: 15.22 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.422e-05/0.134, allocations: 19.91 kB / 413.8 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.836e-05/0.1341, allocations: 49.64 kB / 413.8 MB, free: 15.15 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.1355, allocations: 0.8226 MB / 414.6 MB, free: 14.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1355, allocations: 0 / 414.6 MB, free: 14.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1355, allocations: 0 / 414.6 MB, free: 14.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.1356, allocations: 0 / 414.6 MB, free: 14.32 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.0008589/0.1364, allocations: 0.6002 MB / 415.2 MB, free: 13.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1365, allocations: 8.031 kB / 415.3 MB, free: 13.67 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.778e-05/0.1365, allocations: 46.55 kB / 415.3 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.1366, allocations: 27.7 kB / 415.3 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.1367, allocations: 171 kB / 415.5 MB, free: 13.38 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1367, allocations: 4 kB / 415.5 MB, free: 13.38 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.1367, allocations: 4 kB / 415.5 MB, free: 13.37 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.1371, allocations: 205.5 kB / 415.7 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1371, allocations: 3.984 kB / 415.7 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1371, allocations: 0 / 415.7 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.1371, allocations: 15.95 kB / 415.7 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003925/0.1375, allocations: 279.8 kB / 416 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006288/0.1382, allocations: 0.5221 MB / 416.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.1385, allocations: 254.3 kB / 416.8 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006622/0.1451, allocations: 7.235 MB / 424 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.1452, allocations: 42.56 kB / 424 MB, free: 3.172 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.044e-06/0.1452, allocations: 0 / 424 MB, free: 3.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.0009106/0.1461, allocations: 0.6603 MB / 424.7 MB, free: 2.488 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.1461, allocations: 55.41 kB / 424.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.385e-05/0.1462, allocations: 102 kB / 424.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.1463, allocations: 29.7 kB / 424.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.1463, allocations: 84.78 kB / 425 MB, free: 2.188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.899e-05/0.1464, allocations: 110.3 kB / 425.1 MB, free: 2.078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.1464, allocations: 4 kB / 425.1 MB, free: 2.074 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1465, allocations: 322.8 kB / 425.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.1468, allocations: 155.9 kB / 425.5 MB, free: 1.598 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.147, allocations: 152.8 kB / 425.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.1472, allocations: 156.7 kB / 425.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1472, allocations: 4 kB / 425.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004878/0.1477, allocations: 382.3 kB / 426.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1477, allocations: 11.95 kB / 426.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.1477, allocations: 3.984 kB / 426.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1477, allocations: 0 / 426.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1479, allocations: 35.92 kB / 426.3 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.1479, allocations: 0 / 426.3 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.405e-05/0.148, allocations: 27.77 kB / 426.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.148, allocations: 4.25 kB / 426.3 MB, free: 0.8281 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 9.451e-05/0.1481, allocations: 113.8 kB / 426.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.1481, allocations: 11.81 kB / 426.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006093/0.1487, allocations: 446.8 kB / 426.9 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.1488, allocations: 12 kB / 426.9 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1488, allocations: 0 / 426.9 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1488, allocations: 3.984 kB / 426.9 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2124/0.3612, allocations: 275.4 kB / 427.2 MB, free: 47.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.3612, allocations: 1.094 kB / 427.2 MB, free: 47.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.3614, allocations: 29.16 kB / 427.2 MB, free: 47.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.3614, allocations: 0.75 kB / 427.2 MB, free: 47.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.3614, allocations: 4 kB / 427.2 MB, free: 47.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.3615, allocations: 3.047 kB / 427.2 MB, free: 47.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3615, allocations: 4.406 kB / 427.2 MB, free: 47.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007407/0.3622, allocations: 480.5 kB / 427.7 MB, free: 47.05 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.869e-05/0.3623, allocations: 110.4 kB / 427.8 MB, free: 46.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.3623, allocations: 6.156 kB / 427.8 MB, free: 46.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.3625, allocations: 13.33 kB / 427.8 MB, free: 46.96 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.3625, allocations: 11.38 kB / 427.8 MB, free: 46.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.3625, allocations: 4.266 kB / 427.8 MB, free: 46.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.36e-05/0.3626, allocations: 83.36 kB / 427.9 MB, free: 46.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.3626, allocations: 1.406 kB / 427.9 MB, free: 46.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001277/0.3639, allocations: 418.5 kB / 428.3 MB, free: 46.88 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.002554/0.3664, allocations: 1.553 MB / 429.9 MB, free: 46.17 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000569/0.367, allocations: 377 kB / 430.2 MB, free: 46.17 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.367, allocations: 0 / 430.2 MB, free: 46.17 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.3673, allocations: 208.9 kB / 430.4 MB, free: 46.17 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.3679, allocations: 77.19 kB / 430.5 MB, free: 46.17 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.369, allocations: 0.6318 MB / 431.1 MB, free: 45.85 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.3691, allocations: 0.7146 MB / 431.8 MB, free: 45.15 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.713e-05/0.3692, allocations: 20.42 kB / 431.9 MB, free: 45.15 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/0.3693, allocations: 42.72 kB / 431.9 MB, free: 45.14 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3693, allocations: 0 / 431.9 MB, free: 45.14 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03338/0.4027, allocations: 13.07 MB / 445 MB, free: 39.79 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001366/0.4029, allocations: 194.5 kB / 445.2 MB, free: 39.54 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/2.385, allocations: 0 / 445.2 MB, free: 39.54 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: