Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 221 kB / 22.99 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8534/0.8534, allocations: 134 MB / 447.2 MB, free: 9.965 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 62.38 kB / 0.6197 GB, free: 6.426 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1673, allocations: 85.92 MB / 0.7036 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6257/0.793, allocations: 171.9 MB / 0.8714 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01251/0.8055, allocations: 6.556 MB / 0.8778 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.8076, allocations: 63.44 kB / 0.8779 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00251/0.8101, allocations: 0.6908 MB / 0.8786 GB, free: 488 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007191/0.8173, allocations: 2.42 MB / 0.8809 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004089/0.8214, allocations: 1.448 MB / 0.8824 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005336/0.8267, allocations: 3.01 MB / 0.8853 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/0.8283, allocations: 0.7106 MB / 0.886 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003439/0.8317, allocations: 1.192 MB / 0.8872 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001746/0.8335, allocations: 0.8147 MB / 0.888 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002159/0.8337, allocations: 100 kB / 0.888 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004/0.8377, allocations: 1.675 MB / 0.8897 GB, free: 5.113 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004771/0.8382, allocations: 394.6 kB / 0.8901 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000685/0.8389, allocations: 481.6 kB / 0.8905 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004266/0.8431, allocations: 2.375 MB / 0.8928 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.8431, allocations: 4 kB / 0.8928 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8431, allocations: 0 / 0.8928 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.109e-05/0.8432, allocations: 0 / 0.8928 GB, free: 1.871 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003805/0.847, allocations: 1.594 MB / 0.8944 GB, free: 236 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.847, allocations: 8.031 kB / 0.8944 GB, free: 228 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0029/0.8499, allocations: 0.5416 MB / 0.8949 GB, free: 15.68 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/0.8524, allocations: 0.9702 MB / 0.8959 GB, free: 14.68 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.084e-05/0.8525, allocations: 53.31 kB / 0.8959 GB, free: 14.63 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.8526, allocations: 72 kB / 0.896 GB, free: 14.56 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/0.8552, allocations: 1.242 MB / 0.8972 GB, free: 13.26 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.8552, allocations: 0 / 0.8972 GB, free: 13.26 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.447e-05/0.8553, allocations: 35.92 kB / 0.8972 GB, free: 13.22 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.241e-05/0.8554, allocations: 25.31 kB / 0.8973 GB, free: 13.2 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00307/0.8584, allocations: 1.193 MB / 0.8984 GB, free: 12 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005739/0.8642, allocations: 2.706 MB / 0.9011 GB, free: 9.234 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.8659, allocations: 0.6805 MB / 0.9017 GB, free: 8.543 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008348/0.8668, allocations: 426.2 kB / 0.9022 GB, free: 8.121 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005056/0.8673, allocations: 136.3 kB / 0.9023 GB, free: 7.988 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/0.8684, allocations: 0.6433 MB / 0.9029 GB, free: 7.285 MB / 0.67 GB Notification: Performance of pre-optimization done (n=57): time 2.184e-06/0.8684, allocations: 0 / 0.9029 GB, free: 7.285 MB / 0.67 GB Notification: Performance of matching and sorting (n=57): time 0.003097/0.8715, allocations: 1.264 MB / 0.9041 GB, free: 5.996 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.8716, allocations: 144.9 kB / 0.9043 GB, free: 5.824 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.8732, allocations: 0.8839 MB / 0.9051 GB, free: 4.934 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.218e-05/0.8733, allocations: 45.69 kB / 0.9052 GB, free: 4.883 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004606/0.8737, allocations: 464.5 kB / 0.9056 GB, free: 4.422 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/0.8739, allocations: 198.3 kB / 0.9058 GB, free: 4.227 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/0.8742, allocations: 146.2 kB / 0.906 GB, free: 4.078 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.8744, allocations: 326 kB / 0.9063 GB, free: 3.754 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.8756, allocations: 482.6 kB / 0.9067 GB, free: 3.277 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/0.8772, allocations: 0.9739 MB / 0.9077 GB, free: 2.168 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/0.8794, allocations: 0.9374 MB / 0.9086 GB, free: 1.176 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.8794, allocations: 0 / 0.9086 GB, free: 1.176 MB / 0.67 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003164/0.8825, allocations: 1.214 MB / 0.9098 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/0.8826, allocations: 45.69 kB / 0.9098 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.8826, allocations: 0 / 0.9098 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.8826, allocations: 11.94 kB / 0.9098 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009097/0.8835, allocations: 188 kB / 0.91 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.8835, allocations: 7.938 kB / 0.91 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.8849, allocations: 211.5 kB / 0.9102 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.613e-05/0.8849, allocations: 43.98 kB / 0.9103 GB, free: 15.44 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000542/0.8855, allocations: 327.3 kB / 0.9106 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.8857, allocations: 91.44 kB / 0.9107 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.8878, allocations: 1.011 MB / 0.9117 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.8879, allocations: 7.984 kB / 0.9117 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.8879, allocations: 7.938 kB / 0.9117 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.8879, allocations: 0 / 0.9117 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005092/0.893, allocations: 2.931 MB / 0.9145 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.893, allocations: 8 kB / 0.9145 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005813/0.8936, allocations: 120 kB / 0.9147 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/0.8936, allocations: 8 kB / 0.9147 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.22e-05/0.8936, allocations: 27.98 kB / 0.9147 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.508e-05/0.8936, allocations: 19.92 kB / 0.9147 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/0.8937, allocations: 11.94 kB / 0.9147 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.8961, allocations: 1.363 MB / 0.9161 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000544/0.8966, allocations: 223.1 kB / 0.9163 GB, free: 9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.8967, allocations: 23.98 kB / 0.9163 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.8977, allocations: 103.9 kB / 0.9164 GB, free: 8.875 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.8979, allocations: 63.73 kB / 0.9164 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.75e-05/0.8979, allocations: 39.97 kB / 0.9165 GB, free: 8.773 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001226/0.8992, allocations: 0.6356 MB / 0.9171 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.8992, allocations: 0 / 0.9171 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001153/0.9003, allocations: 331.3 kB / 0.9174 GB, free: 7.82 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006399/0.901, allocations: 336.6 kB / 0.9177 GB, free: 7.484 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002572/0.9035, allocations: 1.04 MB / 0.9188 GB, free: 6.418 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/0.9035, allocations: 4 kB / 0.9188 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.9045, allocations: 0.5103 MB / 0.9193 GB, free: 5.887 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/0.9065, allocations: 377.3 kB / 0.9196 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/0.9104, allocations: 2.089 MB / 0.9217 GB, free: 3.305 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/0.9109, allocations: 481.6 kB / 0.9221 GB, free: 2.805 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003167/0.9112, allocations: 83.39 kB / 0.9222 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of SimCode: time 1.122e-06/0.9112, allocations: 0 / 0.9222 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of Templates: time 0.02651/0.9378, allocations: 16.77 MB / 0.9386 GB, free: 2.059 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.12011387012899] Failed to read output from testmodel.py, exit status != 0: 0.9459321908652782 0.961471028 0.11506909200000001 Calling exit ...