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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7418/0.7418, allocations: 133.6 MB / 141.6 MB, free: 2.895 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 221.5 MB / 395.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 95.89 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.122e-05/2.126e-05, allocations: 4 kB / 0.5534 GB, free: 9.066 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5084/0.5084, allocations: 82.3 MB / 0.6338 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9384/1.447, allocations: 379.6 MB / 1.005 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/1.447, allocations: 83.45 kB / 1.005 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.836/8.283, allocations: 1.47 GB / 2.474 GB, free: 90.33 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.743e-06/8.283, allocations: 0.9375 kB / 2.474 GB, free: 90.33 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001256/8.284, allocations: 155.9 kB / 2.474 GB, free: 90.3 MB / 0.7136 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.01923/8.304, allocations: 4.568 MB / 2.479 GB, free: 88.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/8.304, allocations: 7.125 kB / 2.479 GB, free: 88.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006481/8.31, allocations: 0.8028 MB / 2.48 GB, free: 88.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02454/8.335, allocations: 6.859 MB / 2.486 GB, free: 87.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003529/8.335, allocations: 103 kB / 2.486 GB, free: 87.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001901/8.337, allocations: 212.6 kB / 2.487 GB, free: 87.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0132/8.35, allocations: 4.731 MB / 2.491 GB, free: 87.31 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01813/8.368, allocations: 4.783 MB / 2.496 GB, free: 86.64 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002595/8.369, allocations: 13.66 kB / 2.496 GB, free: 86.64 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001521/8.37, allocations: 11.39 kB / 2.496 GB, free: 86.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001403/8.371, allocations: 112.7 kB / 2.496 GB, free: 86.63 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.04771/8.418, allocations: 22.16 MB / 2.518 GB, free: 76.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004723/8.423, allocations: 2.507 MB / 2.52 GB, free: 76.74 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002646/8.426, allocations: 1.755 MB / 2.522 GB, free: 76.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0167/8.442, allocations: 7.018 MB / 2.529 GB, free: 74.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003038/8.446, allocations: 1.736 MB / 2.53 GB, free: 74.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008289/8.454, allocations: 1.985 MB / 2.532 GB, free: 74.29 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=158): time 1.454e-05/8.454, allocations: 0 / 2.532 GB, free: 74.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=158): time 0.01321/8.467, allocations: 4.689 MB / 2.537 GB, free: 73.96 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/8.467, allocations: 75.78 kB / 2.537 GB, free: 73.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01142/8.479, allocations: 3.999 MB / 2.541 GB, free: 73.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0009156/8.48, allocations: 30.86 kB / 2.541 GB, free: 73.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.004353/8.484, allocations: 2.44 MB / 2.543 GB, free: 72.69 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001589/8.486, allocations: 0.5381 MB / 2.544 GB, free: 72.34 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005899/8.486, allocations: 1.188 kB / 2.544 GB, free: 72.34 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000352/8.487, allocations: 414 kB / 2.544 GB, free: 72.04 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002836/8.49, allocations: 1.442 MB / 2.546 GB, free: 72.03 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003861/8.493, allocations: 2.689 MB / 2.548 GB, free: 70.49 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007504/8.501, allocations: 2.496 MB / 2.551 GB, free: 70.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.756e-05/8.501, allocations: 10.31 kB / 2.551 GB, free: 70.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.03877/8.54, allocations: 8.886 MB / 2.559 GB, free: 70 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.004535/8.544, allocations: 15.04 MB / 2.574 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.044e-05/8.545, allocations: 33.72 kB / 2.574 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03329/8.578, allocations: 6.214 MB / 2.58 GB, free: 54.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003759/8.582, allocations: 0.6479 MB / 2.581 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/8.593, allocations: 5.523 MB / 2.586 GB, free: 52.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006828/8.6, allocations: 300.5 kB / 2.586 GB, free: 52.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006912/8.601, allocations: 161.5 kB / 2.587 GB, free: 52.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/8.601, allocations: 3.188 kB / 2.587 GB, free: 52.34 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03587/8.637, allocations: 8.178 MB / 2.595 GB, free: 52.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001503/8.637, allocations: 30.81 kB / 2.595 GB, free: 52.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03311/8.67, allocations: 6.164 MB / 2.601 GB, free: 51.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003089/8.673, allocations: 0.6462 MB / 2.601 GB, free: 51.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01378/8.687, allocations: 8.233 MB / 2.609 GB, free: 44.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00631/8.693, allocations: 287.2 kB / 2.61 GB, free: 44.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005867/8.694, allocations: 147.9 kB / 2.61 GB, free: 44.27 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 280 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001171/8.695, allocations: 204.4 kB / 2.61 GB, free: 44.06 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00145/8.696, allocations: 434.7 kB / 2.61 GB, free: 43.63 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02809/8.725, allocations: 7.203 MB / 2.617 GB, free: 36.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-05/8.725, allocations: 23.95 kB / 2.617 GB, free: 36.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/8.725, allocations: 0 / 2.617 GB, free: 36.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01376/8.738, allocations: 6.577 MB / 2.624 GB, free: 29.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03188/8.77, allocations: 12.6 MB / 2.636 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/8.77, allocations: 0 / 2.636 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002336/8.773, allocations: 371.6 kB / 2.636 GB, free: 16.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004333/8.777, allocations: 2.439 MB / 2.639 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003212/8.777, allocations: 27.95 kB / 2.639 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008715/8.786, allocations: 4.796 MB / 2.644 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/8.786, allocations: 3.516 kB / 2.644 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.721/9.507, allocations: 9.598 MB / 2.653 GB, free: 97.03 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00539/9.513, allocations: 1.077 MB / 2.654 GB, free: 96.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002089/9.515, allocations: 3.047 kB / 2.654 GB, free: 96.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005292/9.52, allocations: 264.6 kB / 2.654 GB, free: 96.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004517/9.521, allocations: 103.8 kB / 2.654 GB, free: 96.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003785/9.521, allocations: 82.16 kB / 2.654 GB, free: 96.94 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00824/9.529, allocations: 3.019 MB / 2.657 GB, free: 96.76 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.3e-07/9.529, allocations: 4.406 kB / 2.657 GB, free: 96.76 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01399/9.543, allocations: 2.705 MB / 2.66 GB, free: 96.76 MB / 0.7136 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {10 3,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003127/9.546, allocations: 1.126 MB / 2.661 GB, free: 96.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01585/9.562, allocations: 7.034 MB / 2.668 GB, free: 96.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.415e-05/9.562, allocations: 3.438 kB / 2.668 GB, free: 96.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.006331/9.569, allocations: 2.381 MB / 2.67 GB, free: 96.15 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01517/9.584, allocations: 2.391 MB / 2.673 GB, free: 96.13 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02085/9.605, allocations: 7.583 MB / 2.68 GB, free: 94.6 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002806/9.608, allocations: 3.329 MB / 2.683 GB, free: 93.82 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.01036/9.618, allocations: 2.829 MB / 2.686 GB, free: 93.78 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/9.619, allocations: 252 kB / 2.686 GB, free: 93.78 MB / 0.7136 GB Notification: Performance of SimCode: time 1.153e-06/9.619, allocations: 2.406 kB / 2.686 GB, free: 93.78 MB / 0.7136 GB Notification: Performance of Templates: time 0.1803/9.8, allocations: 104.1 MB / 2.788 GB, free: 87.01 MB / 0.7136 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)