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.001475/0.001475, allocations: 174.7 kB / 7.644 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8259/0.8259, allocations: 130.7 MB / 138.7 MB, free: 3.539 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.714/1.714, allocations: 221.5 MB / 391.8 MB, free: 14.24 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.0009631/0.0009631, allocations: 96.62 kB / 473.9 MB, free: 4.477 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.948e-05/1.95e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5756/0.5757, allocations: 81.57 MB / 0.6282 GB, free: 42.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.246/5.822, allocations: 1.9 GB / 2.529 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/5.822, allocations: 86.77 kB / 2.529 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.602/7.424, allocations: 322.5 MB / 2.844 GB, free: 157.2 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.006e-06/7.424, allocations: 3.094 kB / 2.844 GB, free: 157.2 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002022/7.424, allocations: 53.34 kB / 2.844 GB, free: 157.2 MB / 0.6667 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.00594/7.43, allocations: 2.112 MB / 2.846 GB, free: 156.3 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/7.43, allocations: 11 kB / 2.846 GB, free: 156.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004223/7.434, allocations: 0.553 MB / 2.846 GB, free: 156.1 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004308/7.439, allocations: 2.171 MB / 2.848 GB, free: 155.8 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.229e-05/7.439, allocations: 52.62 kB / 2.848 GB, free: 155.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/7.439, allocations: 102 kB / 2.849 GB, free: 155.8 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002991/7.442, allocations: 1.819 MB / 2.85 GB, free: 155.8 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002678/7.445, allocations: 1.545 MB / 2.852 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/7.445, allocations: 3.312 kB / 2.852 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/7.445, allocations: 3.609 kB / 2.852 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/7.445, allocations: 41.03 kB / 2.852 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01157/7.457, allocations: 5.887 MB / 2.858 GB, free: 154.2 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002806/7.46, allocations: 1.808 MB / 2.859 GB, free: 153.8 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009505/7.461, allocations: 0.6241 MB / 2.86 GB, free: 153.8 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007312/7.461, allocations: 425.6 kB / 2.86 GB, free: 153.4 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001479/7.463, allocations: 0.8425 MB / 2.861 GB, free: 153.3 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=137): time 3.406e-06/7.463, allocations: 0 / 2.861 GB, free: 153.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=137): time 0.004387/7.467, allocations: 1.552 MB / 2.863 GB, free: 153.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/7.467, allocations: 249.6 kB / 2.863 GB, free: 152.9 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004578/7.472, allocations: 2.251 MB / 2.865 GB, free: 152.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002333/7.472, allocations: 28.95 kB / 2.865 GB, free: 152.7 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/7.473, allocations: 0.8797 MB / 2.866 GB, free: 152.4 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000489/7.474, allocations: 445.6 kB / 2.866 GB, free: 152.1 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.944e-05/7.474, allocations: 0 / 2.866 GB, free: 152.1 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001187/7.474, allocations: 353.7 kB / 2.867 GB, free: 151.8 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007356/7.475, allocations: 475.1 kB / 2.867 GB, free: 151.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009028/7.476, allocations: 0.6715 MB / 2.868 GB, free: 151.6 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/7.477, allocations: 0.5486 MB / 2.868 GB, free: 151.6 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/7.477, allocations: 0 / 2.868 GB, free: 151.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003518/7.48, allocations: 1.502 MB / 2.87 GB, free: 151.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/7.48, allocations: 5.281 kB / 2.87 GB, free: 151.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/7.48, allocations: 0 / 2.87 GB, free: 151.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/7.481, allocations: 203.7 kB / 2.87 GB, free: 151.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/7.483, allocations: 313.5 kB / 2.87 GB, free: 151.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004754/7.487, allocations: 6.533 MB / 2.877 GB, free: 145.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/7.489, allocations: 132.8 kB / 2.877 GB, free: 145.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002426/7.49, allocations: 67.02 kB / 2.877 GB, free: 145.3 MB / 0.6667 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.0004826/7.49, allocations: 141.5 kB / 2.877 GB, free: 145.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008324/7.491, allocations: 173.8 kB / 2.877 GB, free: 145.1 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004806/7.496, allocations: 1.903 MB / 2.879 GB, free: 144.9 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/7.496, allocations: 14.94 kB / 2.879 GB, free: 144.9 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/7.496, allocations: 3.562 kB / 2.879 GB, free: 144.9 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/7.496, allocations: 12.67 kB / 2.879 GB, free: 144.9 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008283/7.504, allocations: 3.826 MB / 2.883 GB, free: 144.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/7.504, allocations: 8.625 kB / 2.883 GB, free: 144.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/7.506, allocations: 328.9 kB / 2.883 GB, free: 144.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009448/7.507, allocations: 204.6 kB / 2.883 GB, free: 144.5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/7.507, allocations: 30.56 kB / 2.883 GB, free: 144.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004609/7.511, allocations: 6.551 MB / 2.89 GB, free: 138.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/7.511, allocations: 0 / 2.89 GB, free: 138.4 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003747/7.515, allocations: 1.707 MB / 2.892 GB, free: 138.1 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001671/7.517, allocations: 0.6508 MB / 2.892 GB, free: 137.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006853/7.518, allocations: 3.188 kB / 2.892 GB, free: 137.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001836/7.519, allocations: 116.4 kB / 2.892 GB, free: 137.9 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/7.52, allocations: 105.3 kB / 2.892 GB, free: 137.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002116/7.52, allocations: 84.72 kB / 2.892 GB, free: 137.9 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003072/7.523, allocations: 1.764 MB / 2.894 GB, free: 137.8 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.81e-07/7.523, allocations: 3.094 kB / 2.894 GB, free: 137.8 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003518/7.527, allocations: 0.7673 MB / 2.895 GB, free: 137.7 MB / 0.6667 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.004335/7.531, allocations: 1.748 MB / 2.897 GB, free: 137.3 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003063/7.534, allocations: 1.723 MB / 2.898 GB, free: 136.8 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/7.534, allocations: 4.219 kB / 2.898 GB, free: 136.8 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001758/7.536, allocations: 1.219 MB / 2.9 GB, free: 136.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003226/7.539, allocations: 430.1 kB / 2.9 GB, free: 136.2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008423/7.547, allocations: 2.897 MB / 2.903 GB, free: 135.5 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001802/7.549, allocations: 1.552 MB / 2.904 GB, free: 134.8 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003296/7.553, allocations: 0.6512 MB / 2.905 GB, free: 134.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/7.554, allocations: 243.3 kB / 2.905 GB, free: 134.8 MB / 0.6667 GB Notification: Performance of SimCode: time 1.403e-06/7.554, allocations: 0 / 2.905 GB, free: 134.8 MB / 0.6667 GB Notification: Performance of Templates: time 0.06411/7.618, allocations: 36.92 MB / 2.941 GB, free: 105.8 MB / 0.6667 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)