Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 249.9 MB, free: 3.238 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8878/0.8878, allocations: 133.9 MB / 439 MB, free: 13.71 MB / 350.1 MB [Timeout remaining time 89] 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.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002591/0.002591, allocations: 67.89 kB / 0.6087 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4615/0.4641, allocations: 84.69 MB / 0.6914 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.02594/0.49, allocations: 20.98 MB / 0.7119 GB, free: 1.188 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.009398/0.4994, allocations: 5.393 MB / 0.7172 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009635/0.5004, allocations: 27.81 kB / 0.7172 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.5018, allocations: 361.7 kB / 0.7176 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003104/0.5049, allocations: 0.9635 MB / 0.7185 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002835/0.5077, allocations: 0.9329 MB / 0.7194 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002997/0.5107, allocations: 1.743 MB / 0.7211 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009203/0.5116, allocations: 433.3 kB / 0.7215 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.5137, allocations: 0.7106 MB / 0.7222 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008349/0.5146, allocations: 0.5173 MB / 0.7227 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.5147, allocations: 44 kB / 0.7228 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002523/0.5172, allocations: 1.135 MB / 0.7239 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002229/0.5174, allocations: 155.3 kB / 0.724 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000455/0.5179, allocations: 314.4 kB / 0.7243 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002508/0.5204, allocations: 1.238 MB / 0.7255 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.5204, allocations: 0 / 0.7255 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5204, allocations: 3.938 kB / 0.7256 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.68e-05/0.5204, allocations: 4 kB / 0.7256 GB, free: 3.211 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001958/0.5224, allocations: 1.071 MB / 0.7266 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.5224, allocations: 8.031 kB / 0.7266 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009887/0.5234, allocations: 188.3 kB / 0.7268 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.5246, allocations: 0.5885 MB / 0.7274 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/0.5247, allocations: 32.94 kB / 0.7274 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.285e-05/0.5247, allocations: 36 kB / 0.7274 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.5258, allocations: 496 kB / 0.7279 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.5258, allocations: 4 kB / 0.7279 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.088e-05/0.5258, allocations: 12 kB / 0.7279 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.5259, allocations: 11.98 kB / 0.7279 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.5269, allocations: 410.6 kB / 0.7283 GB, free: 256 kB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003521/0.5304, allocations: 2.29 MB / 0.7306 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.5315, allocations: 343.8 kB / 0.7309 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000499/0.532, allocations: 205 kB / 0.7311 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003428/0.5323, allocations: 340.6 kB / 0.7314 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007736/0.5331, allocations: 294 kB / 0.7317 GB, free: 12.49 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.5331, allocations: 0 / 0.7317 GB, free: 12.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.002403/0.5355, allocations: 0.8589 MB / 0.7325 GB, free: 11.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/0.5356, allocations: 85.11 kB / 0.7326 GB, free: 11.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000625/0.5362, allocations: 495 kB / 0.7331 GB, free: 11.01 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.5362, allocations: 29.7 kB / 0.7331 GB, free: 10.97 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000297/0.5365, allocations: 288.8 kB / 0.7334 GB, free: 10.69 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.5367, allocations: 103.1 kB / 0.7335 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.5369, allocations: 85.62 kB / 0.7336 GB, free: 10.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002161/0.5371, allocations: 362.7 kB / 0.7339 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004645/0.5375, allocations: 176.8 kB / 0.7341 GB, free: 9.957 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006529/0.5382, allocations: 257.2 kB / 0.7343 GB, free: 9.672 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.5392, allocations: 470.2 kB / 0.7348 GB, free: 9.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5392, allocations: 4 kB / 0.7348 GB, free: 9.176 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001523/0.5407, allocations: 0.6165 MB / 0.7354 GB, free: 8.543 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.899e-05/0.5408, allocations: 41.69 kB / 0.7354 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.5408, allocations: 3.938 kB / 0.7354 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003682/0.5412, allocations: 64.81 kB / 0.7355 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/0.5415, allocations: 76.03 kB / 0.7356 GB, free: 8.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006703/0.5422, allocations: 0.5992 MB / 0.7361 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005485/0.5428, allocations: 59.77 kB / 0.7362 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.602e-05/0.5428, allocations: 19.98 kB / 0.7362 GB, free: 7.648 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006621/0.5435, allocations: 315.7 kB / 0.7365 GB, free: 7.332 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005245/0.544, allocations: 257.7 kB / 0.7368 GB, free: 7.043 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009502/0.545, allocations: 456.8 kB / 0.7372 GB, free: 6.562 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.213e-06/0.545, allocations: 4 kB / 0.7372 GB, free: 6.559 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001505/0.5465, allocations: 0.5813 MB / 0.7378 GB, free: 5.961 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.729e-05/0.5465, allocations: 41.69 kB / 0.7378 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.5465, allocations: 8.219 kB / 0.7378 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001737/0.5467, allocations: 52.83 kB / 0.7379 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.5471, allocations: 75.81 kB / 0.7379 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/0.5489, allocations: 1.807 MB / 0.7397 GB, free: 3.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005013/0.5494, allocations: 55.78 kB / 0.7398 GB, free: 3.766 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.5494, allocations: 12 kB / 0.7398 GB, free: 3.754 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002559/0.5497, allocations: 239.3 kB / 0.74 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.5498, allocations: 59.62 kB / 0.7401 GB, free: 3.449 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.5513, allocations: 0.6465 MB / 0.7407 GB, free: 2.781 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.5513, allocations: 4 kB / 0.7407 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.5513, allocations: 0 / 0.7407 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001337/0.5526, allocations: 0.8023 MB / 0.7415 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/0.5551, allocations: 1.308 MB / 0.7427 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/0.5551, allocations: 3.984 kB / 0.7428 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003576/0.5555, allocations: 59.95 kB / 0.7428 GB, free: 460 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001476/0.5556, allocations: 48.86 kB / 0.7429 GB, free: 408 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/0.5556, allocations: 15.98 kB / 0.7429 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004578/0.5561, allocations: 0.5757 MB / 0.7434 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5561, allocations: 3.938 kB / 0.7434 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.5581, allocations: 0.9581 MB / 0.7444 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003134/0.5584, allocations: 180.7 kB / 0.7445 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.282e-05/0.5584, allocations: 11.94 kB / 0.7446 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004984/0.5589, allocations: 44.02 kB / 0.7446 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.559, allocations: 23.91 kB / 0.7446 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/0.5591, allocations: 19.98 kB / 0.7446 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004528/0.5595, allocations: 350.8 kB / 0.745 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5595, allocations: 8 kB / 0.745 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001084/0.5606, allocations: 335.3 kB / 0.7453 GB, free: 13.82 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000717/0.5613, allocations: 297.1 kB / 0.7456 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00218/0.5635, allocations: 0.8862 MB / 0.7465 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.5635, allocations: 4 kB / 0.7465 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000618/0.5641, allocations: 279.4 kB / 0.7467 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.5652, allocations: 220.7 kB / 0.7469 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.5678, allocations: 1.17 MB / 0.7481 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006299/0.5684, allocations: 0.8784 MB / 0.7489 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.5686, allocations: 47.42 kB / 0.749 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of SimCode: time 1.322e-06/0.5686, allocations: 0 / 0.749 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of Templates: time 0.01818/0.5868, allocations: 11.49 MB / 0.7602 GB, free: 14.53 MB / 0.5763 GB [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) [Timeout 480]