Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.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.001042/0.001042, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001011/0.001011, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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 0.9995/0.9995, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7985/0.7985, allocations: 154.6 MB / 415.6 MB, free: 0.5234 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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.Taps.Examples.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile") translateModel(IDEAS.Fluid.Taps.Examples.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.5215 GB, free: 1.965 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.44e-05/1.551e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.961 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.01028/0.0103, allocations: 11.48 MB / 0.5327 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006355/0.01665, allocations: 4.839 MB / 0.5374 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007696/0.01742, allocations: 59.44 kB / 0.5375 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000609/0.01803, allocations: 345.8 kB / 0.5378 GB, free: 1.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.01962, allocations: 1.03 MB / 0.5388 GB, free: 228 kB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.02131, allocations: 1.128 MB / 0.5399 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002187/0.0235, allocations: 2.627 MB / 0.5425 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008874/0.02438, allocations: 0.7827 MB / 0.5433 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.02568, allocations: 1.247 MB / 0.5445 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006721/0.02635, allocations: 0.6243 MB / 0.5451 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.02645, allocations: 88 kB / 0.5452 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007387/0.02719, allocations: 351.4 kB / 0.5455 GB, free: 9.367 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.02737, allocations: 272.2 kB / 0.5458 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006884/0.02806, allocations: 367.1 kB / 0.5461 GB, free: 8.742 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.02931, allocations: 0.9925 MB / 0.5471 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.02932, allocations: 0 / 0.5471 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.82e-07/0.02932, allocations: 0.875 kB / 0.5471 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.02933, allocations: 0 / 0.5471 GB, free: 7.746 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001189/0.03052, allocations: 1.409 MB / 0.5485 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.03055, allocations: 12.03 kB / 0.5485 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000248/0.0308, allocations: 187.3 kB / 0.5487 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000772/0.03157, allocations: 0.7975 MB / 0.5494 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.23e-05/0.03161, allocations: 57.67 kB / 0.5495 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.173e-05/0.03167, allocations: 71.94 kB / 0.5496 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000633/0.03231, allocations: 0.7705 MB / 0.5503 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.03232, allocations: 4.781 kB / 0.5503 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-05/0.03237, allocations: 35.98 kB / 0.5504 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.03238, allocations: 18.88 kB / 0.5504 GB, free: 4.207 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002648/0.03264, allocations: 216.8 kB / 0.5506 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/0.03475, allocations: 3.551 MB / 0.554 GB, free: 344 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.03497, allocations: 178.1 kB / 0.5542 GB, free: 156 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.205e-05/0.03507, allocations: 91.27 kB / 0.5543 GB, free: 64 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.03517, allocations: 36.31 kB / 0.5543 GB, free: 28 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.03542, allocations: 267.8 kB / 0.5546 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=41): time 1.943e-06/0.03542, allocations: 1.656 kB / 0.5546 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41): time 0.0005014/0.03592, allocations: 384.3 kB / 0.555 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.03597, allocations: 106.8 kB / 0.5551 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004674/0.03643, allocations: 0.6941 MB / 0.5557 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.03647, allocations: 38.67 kB / 0.5558 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/0.03673, allocations: 0.534 MB / 0.5563 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.535e-05/0.03681, allocations: 131.9 kB / 0.5564 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.03693, allocations: 143.8 kB / 0.5566 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.03705, allocations: 0.4964 MB / 0.557 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.222e-05/0.03713, allocations: 62.69 kB / 0.5571 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.03745, allocations: 0.6815 MB / 0.5578 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.03776, allocations: 414.7 kB / 0.5582 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.03777, allocations: 7.938 kB / 0.5582 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004891/0.03826, allocations: 444.5 kB / 0.5586 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.03827, allocations: 8 kB / 0.5586 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.03828, allocations: 4.844 kB / 0.5586 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.0383, allocations: 11.98 kB / 0.5586 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.03854, allocations: 120.3 kB / 0.5587 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.03855, allocations: 12.78 kB / 0.5588 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.03879, allocations: 68.75 kB / 0.5588 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/0.03883, allocations: 31.98 kB / 0.5588 GB, free: 11 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.tap2.demPro.nextTimeEvent,$whenCondition2,$PRE.tap1.demPro.nextTimeEvent,$whenCondition1,tap2.demPro.nextTimeEventScaled,$PRE.tap2.demPro.nextTimeEventScaled,tap2.demPro.nextTimeEvent,tap2.DHWCom,tap1.demPro.nextTimeEventScaled,$PRE.tap1.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEvent,tap1.DHWCom) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * 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.0001769/0.03901, allocations: 206.2 kB / 0.559 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-05/0.0391, allocations: 103.4 kB / 0.5591 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007889/0.03989, allocations: 0.6975 MB / 0.5598 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.0399, allocations: 12 kB / 0.5598 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.03991, allocations: 2.469 kB / 0.5598 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.03991, allocations: 3.984 kB / 0.5598 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.04119, allocations: 1.294 MB / 0.5611 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.0412, allocations: 4 kB / 0.5611 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.04136, allocations: 87.83 kB / 0.5612 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.04136, allocations: 4 kB / 0.5612 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.04138, allocations: 21.62 kB / 0.5612 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.04139, allocations: 11.98 kB / 0.5612 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.0414, allocations: 7.938 kB / 0.5612 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005625/0.04196, allocations: 0.7296 MB / 0.5619 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.04214, allocations: 171 kB / 0.5621 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.518e-05/0.04221, allocations: 31.92 kB / 0.5621 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.04238, allocations: 30.52 kB / 0.5622 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.04245, allocations: 52.41 kB / 0.5622 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.04248, allocations: 23.98 kB / 0.5622 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002646/0.04274, allocations: 426.8 kB / 0.5627 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.21e-07/0.04274, allocations: 0 / 0.5627 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005965/0.04334, allocations: 291.3 kB / 0.5629 GB, free: 6.676 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,tap1.DHWCom,tap1.demPro.nextTimeEvent,tap1.demPro.nextTimeEventScaled,tap2.DHWCom,tap2.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled) * Number of discrete states: 4 (tap2.demPro.nextTimeEvent,tap1.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 4 * 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.001144/0.04448, allocations: 0.5821 MB / 0.5635 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003908/0.04487, allocations: 317.4 kB / 0.5638 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.04488, allocations: 0 / 0.5638 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.04507, allocations: 210.5 kB / 0.564 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000841/0.04591, allocations: 333.1 kB / 0.5643 GB, free: 5.52 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.04786, allocations: 1.581 MB / 0.5659 GB, free: 3.848 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.04799, allocations: 197.2 kB / 0.5661 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003159/0.04831, allocations: 152 kB / 0.5662 GB, free: 3.492 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00051/0.04882, allocations: 377.9 kB / 0.5666 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of SimCode: time 7.62e-07/0.04882, allocations: 4 kB / 0.5666 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of Templates: time 0.01998/0.0688, allocations: 17.13 MB / 0.5833 GB, free: 2.398 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.sim & ./IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.116336849052459]