Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Movers.Examples.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample") translateModel(IDEAS.Fluid.Movers.Examples.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001463, allocations: 181.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7227/0.7227, allocations: 133.3 MB / 150.1 MB, free: 11.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 404.7 MB, free: 6.035 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 103.4 kB / 485.9 MB, free: 7.18 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000991/0.000991, allocations: 51.91 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1433, allocations: 80.43 MB / 0.6421 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.03067/0.174, allocations: 30.51 MB / 0.6719 GB, free: 6.824 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0135/0.1875, allocations: 10.31 MB / 0.682 GB, free: 12.48 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.1891, allocations: 43.75 kB / 0.682 GB, free: 12.44 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.191, allocations: 0.595 MB / 0.6826 GB, free: 11.84 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003573/0.1946, allocations: 1.382 MB / 0.684 GB, free: 10.45 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003019/0.1976, allocations: 1.195 MB / 0.6851 GB, free: 9.266 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.004849/0.2025, allocations: 3.933 MB / 0.689 GB, free: 5.324 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.2039, allocations: 0.8386 MB / 0.6898 GB, free: 4.473 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001935/0.2058, allocations: 1.023 MB / 0.6908 GB, free: 3.445 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009575/0.2068, allocations: 0.8205 MB / 0.6916 GB, free: 2.621 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.2069, allocations: 52 kB / 0.6917 GB, free: 2.57 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.2085, allocations: 0.7527 MB / 0.6924 GB, free: 1.816 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003075/0.2088, allocations: 302.9 kB / 0.6927 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005948/0.2094, allocations: 0.5594 MB / 0.6932 GB, free: 0.957 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2937/0.5032, allocations: 1.904 MB / 0.6951 GB, free: 17.98 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.5032, allocations: 3.531 kB / 0.6951 GB, free: 17.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.5032, allocations: 0 / 0.6951 GB, free: 17.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.946e-05/0.5033, allocations: 0.9375 kB / 0.6951 GB, free: 17.98 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.003038/0.5063, allocations: 1.538 MB / 0.6966 GB, free: 17.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.5064, allocations: 11.94 kB / 0.6966 GB, free: 17.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.5075, allocations: 207.2 kB / 0.6968 GB, free: 17.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/0.5098, allocations: 1.056 MB / 0.6978 GB, free: 16.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.076e-05/0.5099, allocations: 51.38 kB / 0.6979 GB, free: 16.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.51, allocations: 71.23 kB / 0.6979 GB, free: 16.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.5115, allocations: 0.726 MB / 0.6987 GB, free: 16.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.5116, allocations: 1.25 kB / 0.6987 GB, free: 16.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.755e-05/0.5116, allocations: 25.52 kB / 0.6987 GB, free: 16.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-05/0.5117, allocations: 29.12 kB / 0.6987 GB, free: 16.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.5129, allocations: 0.5433 MB / 0.6992 GB, free: 16.71 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004647/0.5176, allocations: 3.156 MB / 0.7023 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.5188, allocations: 454.4 kB / 0.7028 GB, free: 15.26 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004546/0.5193, allocations: 202 kB / 0.7029 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002059/0.5214, allocations: 1.539 MB / 0.7044 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005775/0.522, allocations: 264.6 kB / 0.7047 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002911/0.5223, allocations: 56.86 kB / 0.7048 GB, free: 14.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=38): time 2.906e-06/0.5223, allocations: 0.5 kB / 0.7048 GB, free: 14.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=38): time 0.001433/0.5237, allocations: 0.5863 MB / 0.7053 GB, free: 14.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.5238, allocations: 55.59 kB / 0.7054 GB, free: 13.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.525, allocations: 0.9225 MB / 0.7063 GB, free: 13.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.525, allocations: 36.33 kB / 0.7063 GB, free: 13.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003833/0.5254, allocations: 0.5034 MB / 0.7068 GB, free: 13.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.5255, allocations: 133.6 kB / 0.7069 GB, free: 13.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.5258, allocations: 126.8 kB / 0.7071 GB, free: 13.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.376e-05/0.5258, allocations: 329.6 kB / 0.7074 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004471/0.5263, allocations: 209.8 kB / 0.7076 GB, free: 13.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/0.5268, allocations: 421.1 kB / 0.708 GB, free: 12.92 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009808/0.5278, allocations: 0.6036 MB / 0.7086 GB, free: 12.69 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.5278, allocations: 1.125 kB / 0.7086 GB, free: 12.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001564/0.5294, allocations: 0.7193 MB / 0.7093 GB, free: 12.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.5295, allocations: 14.58 kB / 0.7093 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.5295, allocations: 5.344 kB / 0.7093 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.399e-05/0.5295, allocations: 9.875 kB / 0.7093 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006354/0.5302, allocations: 142.7 kB / 0.7094 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-05/0.5302, allocations: 12.52 kB / 0.7094 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008983/0.5311, allocations: 51.75 kB / 0.7095 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.5312, allocations: 31.88 kB / 0.7095 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000873/0.5321, allocations: 414.3 kB / 0.7099 GB, free: 12.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005002/0.5326, allocations: 397.4 kB / 0.7103 GB, free: 12.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007831/0.5334, allocations: 0.5575 MB / 0.7108 GB, free: 12.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.696e-06/0.5334, allocations: 7.031 kB / 0.7108 GB, free: 12.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.001164/0.5346, allocations: 0.6603 MB / 0.7115 GB, free: 11.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.5346, allocations: 7.375 kB / 0.7115 GB, free: 11.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.5346, allocations: 9.531 kB / 0.7115 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.5346, allocations: 10.28 kB / 0.7115 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004992/0.5352, allocations: 140.5 kB / 0.7117 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.5352, allocations: 18.59 kB / 0.7117 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000675/0.5359, allocations: 49.92 kB / 0.7117 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/0.5359, allocations: 29.84 kB / 0.7117 GB, free: 11.91 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0002006/0.5361, allocations: 228 kB / 0.712 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.5363, allocations: 100.6 kB / 0.7121 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.5377, allocations: 0.615 MB / 0.7127 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.5377, allocations: 10.02 kB / 0.7127 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5377, allocations: 0.6562 kB / 0.7127 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009125/0.5386, allocations: 0.673 MB / 0.7133 GB, free: 11.25 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002562/0.5412, allocations: 1.507 MB / 0.7148 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5412, allocations: 1.312 kB / 0.7148 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004012/0.5416, allocations: 82.09 kB / 0.7149 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.443e-06/0.5416, allocations: 10.47 kB / 0.7149 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.5417, allocations: 17.53 kB / 0.7149 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.5417, allocations: 6.156 kB / 0.7149 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5417, allocations: 1.125 kB / 0.7149 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/0.555, allocations: 5.833 MB / 0.7206 GB, free: 9.121 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003194/0.5554, allocations: 233.1 kB / 0.7208 GB, free: 8.965 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.5555, allocations: 10.66 kB / 0.7208 GB, free: 8.965 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004833/0.556, allocations: 42.38 kB / 0.7209 GB, free: 8.961 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.874e-05/0.5561, allocations: 33.89 kB / 0.7209 GB, free: 8.957 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/0.5562, allocations: 23.7 kB / 0.7209 GB, free: 8.957 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008072/0.557, allocations: 0.6353 MB / 0.7216 GB, free: 8.848 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.557, allocations: 4.688 kB / 0.7216 GB, free: 8.848 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002574/0.5596, allocations: 0.822 MB / 0.7224 GB, free: 8.766 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * 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.001058/0.5606, allocations: 426.8 kB / 0.7228 GB, free: 8.625 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.5624, allocations: 0.7803 MB / 0.7235 GB, free: 8.535 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5624, allocations: 0.5625 kB / 0.7235 GB, free: 8.535 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005686/0.563, allocations: 237.6 kB / 0.7238 GB, free: 8.473 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/0.5652, allocations: 498.1 kB / 0.7242 GB, free: 8.352 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.5682, allocations: 2.442 MB / 0.7266 GB, free: 6.809 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/0.5688, allocations: 1.094 MB / 0.7277 GB, free: 6.062 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001123/0.5699, allocations: 269.3 kB / 0.7279 GB, free: 5.992 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/0.5702, allocations: 96.47 kB / 0.728 GB, free: 5.98 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5702, allocations: 0 / 0.728 GB, free: 5.98 MB / 490.7 MB Notification: Performance of Templates: time 0.03352/0.6037, allocations: 23.11 MB / 0.7506 GB, free: 7.398 MB / 0.4948 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)