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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 113 kB / 17.6 MB, free: 4.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 186.8 kB / 20.78 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 249.4 MB, free: 3.316 MB / 190.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.8737/0.8737, allocations: 134 MB / 438.5 MB, free: 14.07 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 83.8 kB / 0.6084 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4682/0.4701, allocations: 84.67 MB / 0.6911 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6802/1.15, allocations: 195.1 MB / 0.8816 GB, free: 1.93 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0128/1.163, allocations: 6.964 MB / 0.8884 GB, free: 1.781 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002135/1.165, allocations: 45.59 kB / 0.8884 GB, free: 1.781 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002119/1.167, allocations: 0.7078 MB / 0.8891 GB, free: 1.773 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006558/1.174, allocations: 2.44 MB / 0.8915 GB, free: 1.684 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003836/1.178, allocations: 1.449 MB / 0.8929 GB, free: 1.629 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00489/1.183, allocations: 3.003 MB / 0.8958 GB, free: 1.621 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/1.184, allocations: 0.7037 MB / 0.8965 GB, free: 1.578 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003363/1.188, allocations: 1.16 MB / 0.8977 GB, free: 1.574 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/1.189, allocations: 0.8612 MB / 0.8985 GB, free: 1.566 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002099/1.189, allocations: 99.75 kB / 0.8986 GB, free: 1.566 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004027/1.194, allocations: 2.164 MB / 0.9007 GB, free: 1.543 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004454/1.194, allocations: 384.6 kB / 0.9011 GB, free: 1.539 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008385/1.195, allocations: 0.5867 MB / 0.9017 GB, free: 1.539 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00488/1.2, allocations: 2.427 MB / 0.904 GB, free: 1.363 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.2, allocations: 0 / 0.904 GB, free: 1.363 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.984e-06/1.2, allocations: 3.938 kB / 0.904 GB, free: 1.363 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.119e-05/1.2, allocations: 0 / 0.904 GB, free: 1.363 MB / 0.67 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.003429/1.203, allocations: 1.68 MB / 0.9057 GB, free: 16.45 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/1.203, allocations: 9.281 kB / 0.9057 GB, free: 16.45 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002949/1.206, allocations: 0.5373 MB / 0.9062 GB, free: 16.38 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/1.208, allocations: 1.054 MB / 0.9072 GB, free: 16.03 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.927e-05/1.209, allocations: 55.59 kB / 0.9073 GB, free: 16.03 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/1.209, allocations: 76.03 kB / 0.9074 GB, free: 16.02 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/1.211, allocations: 1.104 MB / 0.9084 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/1.211, allocations: 0.8125 kB / 0.9084 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.723e-05/1.211, allocations: 28.42 kB / 0.9085 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.609e-05/1.211, allocations: 34.84 kB / 0.9085 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002747/1.214, allocations: 1.161 MB / 0.9096 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005927/1.22, allocations: 3.168 MB / 0.9127 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/1.222, allocations: 0.6548 MB / 0.9134 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007322/1.222, allocations: 395 kB / 0.9137 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001244/1.224, allocations: 1.022 MB / 0.9147 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/1.225, allocations: 0.515 MB / 0.9152 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=57): time 3.116e-06/1.225, allocations: 3.188 kB / 0.9152 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of matching and sorting (n=57): time 0.003197/1.228, allocations: 1.226 MB / 0.9164 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/1.228, allocations: 138.3 kB / 0.9166 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/1.23, allocations: 1.18 MB / 0.9177 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001676/1.23, allocations: 41.11 kB / 0.9178 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000384/1.231, allocations: 441.1 kB / 0.9182 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/1.231, allocations: 199.2 kB / 0.9184 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002905/1.231, allocations: 151 kB / 0.9185 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001685/1.231, allocations: 325.9 kB / 0.9188 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/1.232, allocations: 441 kB / 0.9192 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/1.234, allocations: 0.5932 MB / 0.9198 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001988/1.236, allocations: 0.9257 MB / 0.9207 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/1.236, allocations: 0.9062 kB / 0.9207 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003083/1.239, allocations: 1.206 MB / 0.9219 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.99e-05/1.239, allocations: 39.95 kB / 0.9219 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/1.239, allocations: 4.688 kB / 0.922 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/1.239, allocations: 4.906 kB / 0.922 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000876/1.24, allocations: 192.1 kB / 0.9221 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/1.24, allocations: 5.594 kB / 0.9221 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/1.242, allocations: 240.8 kB / 0.9224 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/1.242, allocations: 43.52 kB / 0.9224 GB, free: 12.08 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.000628/1.242, allocations: 331.5 kB / 0.9227 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002978/1.243, allocations: 132.2 kB / 0.9229 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/1.245, allocations: 0.9965 MB / 0.9238 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/1.245, allocations: 18.7 kB / 0.9239 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.245, allocations: 0 / 0.9239 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/1.245, allocations: 2.953 kB / 0.9239 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004907/1.25, allocations: 3.15 MB / 0.9269 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/1.25, allocations: 8.438 kB / 0.9269 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005776/1.25, allocations: 123.2 kB / 0.9271 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/1.25, allocations: 10.78 kB / 0.9271 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.193e-05/1.25, allocations: 26.64 kB / 0.9271 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.313e-05/1.25, allocations: 17.22 kB / 0.9271 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/1.25, allocations: 10.91 kB / 0.9271 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/1.253, allocations: 1.348 MB / 0.9284 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006343/1.253, allocations: 331.3 kB / 0.9288 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/1.253, allocations: 20.91 kB / 0.9288 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/1.254, allocations: 106.2 kB / 0.9289 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/1.255, allocations: 58.67 kB / 0.9289 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.924e-05/1.255, allocations: 41.89 kB / 0.929 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001423/1.256, allocations: 0.8467 MB / 0.9298 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/1.256, allocations: 2.812 kB / 0.9298 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00112/1.257, allocations: 301.6 kB / 0.9301 GB, free: 10.05 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.000704/1.258, allocations: 350.4 kB / 0.9304 GB, free: 9.902 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002193/1.26, allocations: 0.963 MB / 0.9314 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.26, allocations: 0 / 0.9314 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008686/1.261, allocations: 494.5 kB / 0.9318 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/1.264, allocations: 0.5507 MB / 0.9324 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/1.267, allocations: 2.064 MB / 0.9344 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007547/1.268, allocations: 1.068 MB / 0.9354 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001069/1.269, allocations: 272.5 kB / 0.9357 GB, free: 7.973 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/1.269, allocations: 80.91 kB / 0.9358 GB, free: 7.965 MB / 0.6856 GB Notification: Performance of SimCode: time 1.222e-06/1.269, allocations: 0 / 0.9358 GB, free: 7.965 MB / 0.6856 GB Notification: Performance of Templates: time 0.0416/1.311, allocations: 22.51 MB / 0.9577 GB, free: 7.75 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: 7.185275143943727]