Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.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/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/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.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7296/0.7296, allocations: 130.5 MB / 143.8 MB, free: 13.61 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.675/1.675, allocations: 221.3 MB / 396.8 MB, free: 9.176 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.001136/0.001136, allocations: 99.81 kB / 479 MB, free: 10.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.687e-05/4.689e-05, allocations: 3.594 kB / 0.5551 GB, free: 86.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.201, allocations: 81.58 MB / 0.6347 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.754/4.955, allocations: 1.901 GB / 2.536 GB, free: 54.97 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/4.955, allocations: 91.52 kB / 2.536 GB, free: 54.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.074/6.029, allocations: 325.8 MB / 2.854 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.804e-06/6.029, allocations: 0 / 2.854 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001607/6.03, allocations: 59.98 kB / 2.854 GB, free: 4.094 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.003935/6.034, allocations: 2.115 MB / 2.856 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/6.034, allocations: 12.03 kB / 2.856 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003571/6.037, allocations: 0.5511 MB / 2.857 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5405/6.578, allocations: 2.169 MB / 2.859 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001949/6.578, allocations: 125.1 kB / 2.859 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003124/6.578, allocations: 164.2 kB / 2.859 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004337/6.583, allocations: 1.789 MB / 2.861 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.603e-05/6.583, allocations: 0.625 kB / 2.861 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001968/6.583, allocations: 73.83 kB / 2.861 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.537e-05/6.583, allocations: 49.19 kB / 2.861 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004289/6.587, allocations: 1.907 MB / 2.863 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0121/6.599, allocations: 6.199 MB / 2.869 GB, free: 152 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/6.602, allocations: 1.885 MB / 2.871 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008877/6.603, allocations: 0.6706 MB / 2.871 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005585/6.604, allocations: 426.8 kB / 2.872 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001354/6.605, allocations: 0.8824 MB / 2.873 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 4.078e-06/6.605, allocations: 0 / 2.873 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.004455/6.609, allocations: 1.62 MB / 2.874 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/6.609, allocations: 254.8 kB / 2.874 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004954/6.614, allocations: 2.423 MB / 2.877 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004495/6.615, allocations: 57.67 kB / 2.877 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008719/6.616, allocations: 0.871 MB / 2.878 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005189/6.616, allocations: 457.9 kB / 2.878 GB, free: 150 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/6.616, allocations: 21.91 kB / 2.878 GB, free: 150 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001059/6.617, allocations: 353 kB / 2.879 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009145/6.617, allocations: 493.6 kB / 2.879 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/6.619, allocations: 0.7002 MB / 2.88 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/6.62, allocations: 0.566 MB / 2.88 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/6.62, allocations: 0 / 2.88 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004374/6.624, allocations: 1.592 MB / 2.882 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/6.624, allocations: 6.359 kB / 2.882 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/6.624, allocations: 1.125 kB / 2.882 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/6.625, allocations: 209.5 kB / 2.882 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/6.627, allocations: 312 kB / 2.882 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005414/6.632, allocations: 6.795 MB / 2.889 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/6.635, allocations: 177 kB / 2.889 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003374/6.635, allocations: 64.38 kB / 2.889 GB, free: 142.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006771/6.636, allocations: 180 kB / 2.889 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001029/6.637, allocations: 183.9 kB / 2.89 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006342/6.643, allocations: 2.03 MB / 2.892 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.399e-05/6.643, allocations: 14.97 kB / 2.892 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.341e-05/6.643, allocations: 1.406 kB / 2.892 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.234e-05/6.643, allocations: 11.22 kB / 2.892 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/6.654, allocations: 4.142 MB / 2.896 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/6.655, allocations: 3.938 kB / 2.896 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/6.656, allocations: 330.3 kB / 2.896 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009527/6.657, allocations: 211.9 kB / 2.896 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001649/6.657, allocations: 44.84 kB / 2.896 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004786/6.662, allocations: 6.828 MB / 2.903 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/6.662, allocations: 6.297 kB / 2.903 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004645/6.667, allocations: 1.789 MB / 2.905 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002705/6.67, allocations: 0.6647 MB / 2.905 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/6.671, allocations: 24.69 kB / 2.905 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00226/6.673, allocations: 141.2 kB / 2.905 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003684/6.673, allocations: 113.4 kB / 2.905 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002883/6.674, allocations: 90.92 kB / 2.906 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003718/6.677, allocations: 1.912 MB / 2.907 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/6.677, allocations: 0 / 2.907 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004091/6.681, allocations: 0.8265 MB / 2.908 GB, free: 135.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004257/6.686, allocations: 1.657 MB / 2.91 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003359/6.689, allocations: 1.799 MB / 2.912 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/6.689, allocations: 3.781 kB / 2.912 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001826/6.691, allocations: 1.283 MB / 2.913 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003177/6.694, allocations: 478.1 kB / 2.913 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008651/6.703, allocations: 2.974 MB / 2.916 GB, free: 133 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001991/6.705, allocations: 1.556 MB / 2.918 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003519/6.708, allocations: 0.6614 MB / 2.918 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/6.71, allocations: 245 kB / 2.919 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.954e-06/6.71, allocations: 3.844 kB / 2.919 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.08107/6.791, allocations: 49.98 MB / 2.967 GB, free: 130.1 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)