Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 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: translateModel(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 101.7 kB / 16.35 MB, free: 5.875 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.00108/0.00108, allocations: 199 kB / 17.3 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7969/0.7969, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.89 kB / 0.5067 GB, free: 7.691 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4038, allocations: 80.91 MB / 0.5857 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.06845/0.4723, allocations: 80.55 MB / 0.6644 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02715/0.4995, allocations: 19.21 MB / 0.6832 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003553/0.5031, allocations: 107.4 kB / 0.6833 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003356/0.5065, allocations: 1.151 MB / 0.6844 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008285/0.5148, allocations: 2.772 MB / 0.6871 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006519/0.5214, allocations: 2.425 MB / 0.6895 GB, free: 92 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01734/0.5387, allocations: 15.5 MB / 0.7046 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009355/0.5481, allocations: 7.221 MB / 0.7117 GB, free: 9.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01161/0.5597, allocations: 5.866 MB / 0.7174 GB, free: 3.379 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008348/0.5681, allocations: 5.054 MB / 0.7223 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001846/0.57, allocations: 0.5391 MB / 0.7228 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005458/0.5755, allocations: 1.795 MB / 0.7246 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002373/0.5778, allocations: 1.612 MB / 0.7262 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.005387/0.5832, allocations: 3.297 MB / 0.7294 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01202/0.5953, allocations: 9.067 MB / 0.7382 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.5953, allocations: 0 / 0.7382 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5953, allocations: 0 / 0.7382 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002132/0.5955, allocations: 0 / 0.7382 GB, free: 13.95 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 834 * Number of variables: 834 Notification: Performance of Generate backend data structure: time 0.01376/0.6093, allocations: 6.485 MB / 0.7446 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.6094, allocations: 9.109 kB / 0.7446 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003376/0.6127, allocations: 0.8246 MB / 0.7454 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/0.6238, allocations: 5.34 MB / 0.7506 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/0.624, allocations: 262.5 kB / 0.7509 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000762/0.6248, allocations: 336 kB / 0.7512 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2645/0.8893, allocations: 5.698 MB / 0.7567 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.247e-05/0.8894, allocations: 15.7 kB / 0.7568 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004912/0.8899, allocations: 150.9 kB / 0.7569 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001379/0.89, allocations: 113.6 kB / 0.757 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009596/0.8996, allocations: 5.52 MB / 0.7624 GB, free: 148.3 MB / 0.5762 GB 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.02668/0.9263, allocations: 23.69 MB / 0.7855 GB, free: 128.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003761/0.9301, allocations: 2.747 MB / 0.7882 GB, free: 125.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002144/0.9323, allocations: 1.897 MB / 0.7901 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/0.9426, allocations: 7.084 MB / 0.797 GB, free: 116.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002428/0.9451, allocations: 1.916 MB / 0.7989 GB, free: 114.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002817/0.9479, allocations: 0.7039 MB / 0.7995 GB, free: 114 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=155): time 6.493e-06/0.9479, allocations: 4 kB / 0.7995 GB, free: 114 MB / 0.5762 GB Notification: Performance of matching and sorting (n=155): time 0.0208/0.9687, allocations: 7.918 MB / 0.8073 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.9688, allocations: 68.72 kB / 0.8073 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006129/0.9749, allocations: 5.017 MB / 0.8122 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004815/0.9755, allocations: 65.7 kB / 0.8123 GB, free: 101 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001564/0.977, allocations: 2.454 MB / 0.8147 GB, free: 98.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006395/0.9777, allocations: 0.554 MB / 0.8152 GB, free: 98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008287/0.9785, allocations: 0.6646 MB / 0.8159 GB, free: 97.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.143e-05/0.9786, allocations: 309.1 kB / 0.8162 GB, free: 97.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00216/0.9807, allocations: 1.714 MB / 0.8179 GB, free: 95.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00279/0.9835, allocations: 2.905 MB / 0.8207 GB, free: 91.88 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005162/0.9887, allocations: 4.682 MB / 0.8253 GB, free: 86.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.138e-05/0.9888, allocations: 8 kB / 0.8253 GB, free: 86.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01022/0.999, allocations: 6.301 MB / 0.8314 GB, free: 80.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.225e-05/0.9991, allocations: 51.31 kB / 0.8315 GB, free: 80.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.531e-05/0.9991, allocations: 40 kB / 0.8315 GB, free: 80.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07268/1.072, allocations: 13.54 MB / 0.8447 GB, free: 66.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002852/1.075, allocations: 0.6551 MB / 0.8454 GB, free: 66.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008853/1.084, allocations: 5.475 MB / 0.8507 GB, free: 60.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004499/1.088, allocations: 220.4 kB / 0.8509 GB, free: 60.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006247/1.089, allocations: 199.8 kB / 0.8511 GB, free: 60.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004717/1.093, allocations: 2.96 MB / 0.854 GB, free: 57.26 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002912/1.096, allocations: 2.844 MB / 0.8568 GB, free: 53.86 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00509/1.102, allocations: 4.547 MB / 0.8612 GB, free: 48.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.287e-05/1.102, allocations: 8 kB / 0.8612 GB, free: 48.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.009317/1.111, allocations: 5.993 MB / 0.8671 GB, free: 42.81 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.592e-05/1.111, allocations: 49.69 kB / 0.8671 GB, free: 42.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.715e-05/1.111, allocations: 35.94 kB / 0.8672 GB, free: 42.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07027/1.181, allocations: 13.31 MB / 0.8802 GB, free: 29.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002629/1.184, allocations: 0.6396 MB / 0.8808 GB, free: 28.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/1.195, allocations: 8.896 MB / 0.8895 GB, free: 19.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004261/1.199, allocations: 225 kB / 0.8897 GB, free: 19.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006532/1.2, allocations: 192 kB / 0.8899 GB, free: 19.19 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (283): * Single equations (assignments): 278 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(11,15), (10,11), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001135/1.201, allocations: 367.2 kB / 0.8902 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001551/1.203, allocations: 466.2 kB / 0.8907 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008085/1.211, allocations: 4.577 MB / 0.8951 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/1.211, allocations: 24 kB / 0.8952 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/1.211, allocations: 0 / 0.8952 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008763/1.22, allocations: 5.625 MB / 0.9007 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02604/1.246, allocations: 10.71 MB / 0.9111 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.172e-05/1.246, allocations: 4 kB / 0.9111 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002439/1.248, allocations: 363.6 kB / 0.9115 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06752/1.316, allocations: 11.72 MB / 0.9229 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005912/1.316, allocations: 43.97 kB / 0.923 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006667/1.323, allocations: 3.559 MB / 0.9264 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.323, allocations: 0 / 0.9264 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02356/1.347, allocations: 8.414 MB / 0.9347 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003135/1.35, allocations: 0.9249 MB / 0.9356 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00157/1.351, allocations: 28 kB / 0.9356 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003418/1.355, allocations: 139.8 kB / 0.9357 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004541/1.355, allocations: 113.8 kB / 0.9358 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003341/1.356, allocations: 83.92 kB / 0.9359 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00676/1.362, allocations: 3.44 MB / 0.9393 GB, free: 164 kB / 0.6075 GB Notification: Performance of sort global known variables: time 2.61e-07/1.363, allocations: 0 / 0.9393 GB, free: 164 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.009029/1.372, allocations: 2.632 MB / 0.9418 GB, free: 13.55 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.T,val.filter.s[1],val.filter.s[2]) * 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 (135): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(11,5), (2,5), (10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001549/1.373, allocations: 0.5241 MB / 0.9423 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01837/1.392, allocations: 7.415 MB / 0.9496 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/1.392, allocations: 4.062 kB / 0.9496 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005674/1.397, allocations: 2.292 MB / 0.9518 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01184/1.409, allocations: 2.709 MB / 0.9545 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01821/1.427, allocations: 9.969 MB / 0.9642 GB, free: 6.727 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004037/1.431, allocations: 3.245 MB / 0.9674 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005788/1.437, allocations: 1.642 MB / 0.969 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001338/1.439, allocations: 355.2 kB / 0.9693 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of SimCode: time 1.082e-06/1.439, allocations: 0 / 0.9693 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of Templates: time 0.384/1.823, allocations: 110.7 MB / 1.077 GB, free: 171.9 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)