Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.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.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") translateModel(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 182.2 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.6871/0.6871, allocations: 133.3 MB / 150.1 MB, free: 11.16 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.368/1.368, allocations: 222.9 MB / 404.7 MB, free: 6.031 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.001134/0.001134, allocations: 95.75 kB / 485.9 MB, free: 7.16 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 47.92 kB / 0.5636 GB, free: 69.9 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1323, allocations: 80.43 MB / 0.6421 GB, free: 5.402 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.02911/0.1614, allocations: 30.41 MB / 0.6718 GB, free: 6.871 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01448/0.1759, allocations: 10.27 MB / 0.6819 GB, free: 12.57 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002098/0.1781, allocations: 47.69 kB / 0.6819 GB, free: 12.53 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002424/0.1805, allocations: 0.5989 MB / 0.6825 GB, free: 11.93 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004291/0.1849, allocations: 1.355 MB / 0.6838 GB, free: 10.57 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003154/0.1881, allocations: 1.168 MB / 0.685 GB, free: 9.406 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.004645/0.1927, allocations: 3.854 MB / 0.6887 GB, free: 5.543 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.194, allocations: 0.7836 MB / 0.6895 GB, free: 4.746 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001982/0.196, allocations: 0.9998 MB / 0.6905 GB, free: 3.742 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.1973, allocations: 0.7894 MB / 0.6912 GB, free: 2.949 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.1974, allocations: 52 kB / 0.6913 GB, free: 2.898 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.1991, allocations: 0.7449 MB / 0.692 GB, free: 2.152 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003136/0.1994, allocations: 286.9 kB / 0.6923 GB, free: 1.871 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005911/0.2, allocations: 0.5245 MB / 0.6928 GB, free: 1.344 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2923/0.4924, allocations: 1.834 MB / 0.6946 GB, free: 17.95 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4924, allocations: 0.5625 kB / 0.6946 GB, free: 17.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4924, allocations: 0 / 0.6946 GB, free: 17.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.273e-05/0.4925, allocations: 2.25 kB / 0.6946 GB, free: 17.95 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002709/0.4952, allocations: 1.5 MB / 0.6961 GB, free: 17.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.4952, allocations: 9.625 kB / 0.6961 GB, free: 17.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009893/0.4962, allocations: 199.5 kB / 0.6963 GB, free: 17.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.498, allocations: 1.001 MB / 0.6972 GB, free: 16.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.603e-05/0.4981, allocations: 54.12 kB / 0.6973 GB, free: 16.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.4982, allocations: 66.33 kB / 0.6974 GB, free: 16.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.4996, allocations: 0.7018 MB / 0.698 GB, free: 16.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.4996, allocations: 6.891 kB / 0.698 GB, free: 16.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.331e-05/0.4997, allocations: 25.39 kB / 0.6981 GB, free: 16.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.4997, allocations: 18.75 kB / 0.6981 GB, free: 16.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.5009, allocations: 0.5231 MB / 0.6986 GB, free: 16.7 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.004154/0.5051, allocations: 3.059 MB / 0.7016 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.5061, allocations: 386 kB / 0.702 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004694/0.5066, allocations: 193.4 kB / 0.7021 GB, free: 15.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00187/0.5085, allocations: 1.507 MB / 0.7036 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006152/0.5091, allocations: 242.7 kB / 0.7038 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002308/0.5094, allocations: 57.84 kB / 0.7039 GB, free: 14.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=32): time 2.244e-06/0.5094, allocations: 5.094 kB / 0.7039 GB, free: 14.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.001552/0.5109, allocations: 0.5457 MB / 0.7044 GB, free: 14.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.511, allocations: 61.2 kB / 0.7045 GB, free: 13.97 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.5121, allocations: 0.8934 MB / 0.7054 GB, free: 13.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.5121, allocations: 39.83 kB / 0.7054 GB, free: 13.78 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/0.5125, allocations: 486.2 kB / 0.7059 GB, free: 13.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.866e-05/0.5126, allocations: 114.5 kB / 0.706 GB, free: 13.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.5128, allocations: 123.3 kB / 0.7061 GB, free: 13.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.178e-05/0.5129, allocations: 325.2 kB / 0.7064 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005035/0.5134, allocations: 203.6 kB / 0.7066 GB, free: 13.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006095/0.514, allocations: 409.4 kB / 0.707 GB, free: 12.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009699/0.515, allocations: 0.5908 MB / 0.7076 GB, free: 12.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.515, allocations: 2.875 kB / 0.7076 GB, free: 12.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0014/0.5164, allocations: 0.7128 MB / 0.7083 GB, free: 12.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.556e-05/0.5165, allocations: 34.94 kB / 0.7083 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.5165, allocations: 6.125 kB / 0.7083 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.17e-05/0.5165, allocations: 9.188 kB / 0.7083 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005584/0.5171, allocations: 134.8 kB / 0.7084 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/0.5171, allocations: 10.66 kB / 0.7084 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006118/0.5177, allocations: 48.75 kB / 0.7085 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.964e-05/0.5178, allocations: 36.98 kB / 0.7085 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006811/0.5185, allocations: 407.9 kB / 0.7089 GB, free: 12.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005198/0.519, allocations: 369.8 kB / 0.7093 GB, free: 12.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008373/0.5199, allocations: 0.5597 MB / 0.7098 GB, free: 11.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.388e-06/0.5199, allocations: 2.188 kB / 0.7098 GB, free: 11.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001238/0.5211, allocations: 0.6637 MB / 0.7105 GB, free: 11.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.5212, allocations: 36.11 kB / 0.7105 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.5212, allocations: 6.219 kB / 0.7105 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.5212, allocations: 9.531 kB / 0.7105 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.5217, allocations: 121.6 kB / 0.7106 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.5217, allocations: 10.31 kB / 0.7106 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000598/0.5223, allocations: 52.17 kB / 0.7107 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.615e-05/0.5224, allocations: 38.38 kB / 0.7107 GB, free: 11.78 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 62 * Array equations: 1 * Algorithm blocks: 1 * 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.0001653/0.5225, allocations: 212.9 kB / 0.7109 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.5227, allocations: 91.17 kB / 0.711 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.5241, allocations: 0.599 MB / 0.7116 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.5241, allocations: 6 kB / 0.7116 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5242, allocations: 0 / 0.7116 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001027/0.5252, allocations: 0.6539 MB / 0.7122 GB, free: 11.12 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.00249/0.5277, allocations: 1.407 MB / 0.7136 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/0.5277, allocations: 5.672 kB / 0.7136 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/0.5281, allocations: 77.12 kB / 0.7137 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.5281, allocations: 7.688 kB / 0.7137 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.445e-05/0.5281, allocations: 11.44 kB / 0.7137 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.5282, allocations: 8.938 kB / 0.7137 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5282, allocations: 0.5938 kB / 0.7137 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01339/0.5416, allocations: 5.247 MB / 0.7189 GB, free: 9.039 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003224/0.5419, allocations: 215.4 kB / 0.7191 GB, free: 8.895 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.542, allocations: 9.5 kB / 0.7191 GB, free: 8.895 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004818/0.5425, allocations: 50.72 kB / 0.7191 GB, free: 8.887 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.008e-05/0.5426, allocations: 33.11 kB / 0.7191 GB, free: 8.883 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.535e-05/0.5427, allocations: 18.77 kB / 0.7192 GB, free: 8.883 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008055/0.5435, allocations: 0.6124 MB / 0.7198 GB, free: 8.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.5435, allocations: 0 / 0.7198 GB, free: 8.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002673/0.5462, allocations: 0.7932 MB / 0.7205 GB, free: 8.691 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.001218/0.5474, allocations: 431.8 kB / 0.721 GB, free: 8.551 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001938/0.5494, allocations: 0.8472 MB / 0.7218 GB, free: 8.414 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5494, allocations: 256 / 0.7218 GB, free: 8.414 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006363/0.55, allocations: 233.6 kB / 0.722 GB, free: 8.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/0.5523, allocations: 473.1 kB / 0.7225 GB, free: 8.375 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003799/0.5561, allocations: 2.223 MB / 0.7246 GB, free: 7.176 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007077/0.5568, allocations: 1.062 MB / 0.7257 GB, free: 6.461 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00117/0.558, allocations: 242.9 kB / 0.7259 GB, free: 6.395 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.5583, allocations: 90.8 kB / 0.726 GB, free: 6.383 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5583, allocations: 2.906 kB / 0.726 GB, free: 6.383 MB / 490.7 MB Notification: Performance of Templates: time 0.03386/0.5921, allocations: 22.05 MB / 0.7475 GB, free: 9.965 MB / 0.4948 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)