Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.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.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8137/0.8137, allocations: 130.7 MB / 138.7 MB, free: 3.562 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.554/1.554, allocations: 221.5 MB / 391.8 MB, free: 14.23 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.0008951/0.0008951, allocations: 97.06 kB / 473.9 MB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.144e-05/2.145e-05, allocations: 4 kB / 0.5485 GB, free: 13.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.565/0.565, allocations: 81.58 MB / 0.6282 GB, free: 42.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.481/6.046, allocations: 1.9 GB / 2.528 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/6.047, allocations: 82.7 kB / 2.528 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.7117/6.758, allocations: 150.9 MB / 2.676 GB, free: 133.2 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.633e-06/6.758, allocations: 3.938 kB / 2.676 GB, free: 133.2 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001391/6.758, allocations: 35.92 kB / 2.676 GB, free: 133.1 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.003336/6.762, allocations: 1.328 MB / 2.677 GB, free: 131.7 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/6.762, allocations: 12.03 kB / 2.677 GB, free: 131.7 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/6.764, allocations: 262.2 kB / 2.677 GB, free: 131.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/6.766, allocations: 0.8186 MB / 2.678 GB, free: 130.6 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.244e-05/6.766, allocations: 28 kB / 2.678 GB, free: 130.6 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/6.766, allocations: 55.98 kB / 2.678 GB, free: 130.5 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001772/6.768, allocations: 1.132 MB / 2.679 GB, free: 129.4 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/6.769, allocations: 0.8637 MB / 2.68 GB, free: 128.5 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/6.769, allocations: 0 / 2.68 GB, free: 128.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/6.769, allocations: 4 kB / 2.68 GB, free: 128.5 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/6.769, allocations: 20 kB / 2.68 GB, free: 128.5 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005337/6.775, allocations: 2.958 MB / 2.683 GB, free: 125.4 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/6.776, allocations: 0.8955 MB / 2.684 GB, free: 124.5 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004299/6.776, allocations: 327.5 kB / 2.684 GB, free: 124.2 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/6.777, allocations: 137.9 kB / 2.684 GB, free: 124 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006818/6.777, allocations: 479.7 kB / 2.685 GB, free: 123.5 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=86): time 4.098e-06/6.777, allocations: 3.938 kB / 2.685 GB, free: 123.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=86): time 0.002389/6.78, allocations: 0.8365 MB / 2.686 GB, free: 122.7 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.708e-05/6.78, allocations: 244.1 kB / 2.686 GB, free: 122.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/6.781, allocations: 0.7069 MB / 2.686 GB, free: 121.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.376e-05/6.781, allocations: 29.69 kB / 2.687 GB, free: 121.6 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004611/6.782, allocations: 460.2 kB / 2.687 GB, free: 121.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/6.782, allocations: 267.9 kB / 2.687 GB, free: 120.9 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/6.782, allocations: 0 / 2.687 GB, free: 120.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000106/6.782, allocations: 334 kB / 2.688 GB, free: 120.6 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/6.782, allocations: 249.5 kB / 2.688 GB, free: 120.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004473/6.783, allocations: 378.1 kB / 2.688 GB, free: 119.9 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/6.783, allocations: 304.3 kB / 2.688 GB, free: 119.6 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/6.783, allocations: 0 / 2.688 GB, free: 119.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001785/6.785, allocations: 0.8248 MB / 2.689 GB, free: 118.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/6.785, allocations: 8.781 kB / 2.689 GB, free: 118.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/6.785, allocations: 4 kB / 2.689 GB, free: 118.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007128/6.786, allocations: 121.6 kB / 2.689 GB, free: 118.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007643/6.787, allocations: 179.8 kB / 2.69 GB, free: 118.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/6.789, allocations: 2.729 MB / 2.692 GB, free: 115.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008173/6.79, allocations: 79.55 kB / 2.692 GB, free: 115.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.81e-05/6.79, allocations: 35.97 kB / 2.692 GB, free: 115.4 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 (87): * Single equations (assignments): 85 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002112/6.79, allocations: 128.3 kB / 2.692 GB, free: 115.3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/6.79, allocations: 87.06 kB / 2.693 GB, free: 115.2 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/6.793, allocations: 1.121 MB / 2.694 GB, free: 114 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/6.793, allocations: 12 kB / 2.694 GB, free: 114 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/6.793, allocations: 0 / 2.694 GB, free: 114 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/6.793, allocations: 3.984 kB / 2.694 GB, free: 114 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003063/6.796, allocations: 2.081 MB / 2.696 GB, free: 111.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/6.796, allocations: 0 / 2.696 GB, free: 111.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007381/6.796, allocations: 187.8 kB / 2.696 GB, free: 111.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005591/6.797, allocations: 117.6 kB / 2.696 GB, free: 111.6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.145e-05/6.797, allocations: 19.98 kB / 2.696 GB, free: 111.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/6.799, allocations: 2.757 MB / 2.699 GB, free: 108.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/6.799, allocations: 3.953 kB / 2.699 GB, free: 108.6 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/6.801, allocations: 1.01 MB / 2.7 GB, free: 107.5 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004414/6.801, allocations: 343.5 kB / 2.7 GB, free: 107.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/6.801, allocations: 0 / 2.7 GB, free: 107.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007203/6.802, allocations: 71.92 kB / 2.7 GB, free: 107.1 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/6.802, allocations: 69.22 kB / 2.7 GB, free: 107.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.389e-05/6.802, allocations: 43.91 kB / 2.7 GB, free: 107 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005991/6.803, allocations: 0.5577 MB / 2.701 GB, free: 106.5 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/6.803, allocations: 0 / 2.701 GB, free: 106.5 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001578/6.804, allocations: 498.8 kB / 2.701 GB, free: 106 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 (95): * Single equations (assignments): 91 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002301/6.807, allocations: 1.425 MB / 2.703 GB, free: 104.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001277/6.808, allocations: 0.8979 MB / 2.703 GB, free: 103.7 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/6.808, allocations: 0 / 2.703 GB, free: 103.7 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007132/6.809, allocations: 0.6176 MB / 2.704 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/6.81, allocations: 280.1 kB / 2.704 GB, free: 102.8 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/6.813, allocations: 1.554 MB / 2.706 GB, free: 101.2 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/6.814, allocations: 1.102 MB / 2.707 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001016/6.815, allocations: 310.7 kB / 2.707 GB, free: 99.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/6.815, allocations: 115.4 kB / 2.707 GB, free: 99.69 MB / 0.6667 GB Notification: Performance of SimCode: time 7.81e-07/6.815, allocations: 0 / 2.707 GB, free: 99.69 MB / 0.6667 GB Notification: Performance of Templates: time 0.03128/6.847, allocations: 21.47 MB / 2.728 GB, free: 78.33 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)