Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.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.001518/0.001518, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.002071/0.002071, allocations: 190.3 kB / 22.22 MB, free: 5.105 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.603/1.603, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.172/1.172, allocations: 177.9 MB / 484.2 MB, free: 5.379 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Taps.Examples.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile") translateModel(IDEAS.Fluid.Taps.Examples.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 64.58 kB / 0.674 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6474/0.6496, allocations: 95.17 MB / 0.7669 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.05141/0.701, allocations: 44.43 MB / 0.8103 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01636/0.7174, allocations: 8.59 MB / 0.8187 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002803/0.7202, allocations: 63.97 kB / 0.8187 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.7223, allocations: 0.5276 MB / 0.8193 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006311/0.7286, allocations: 1.588 MB / 0.8208 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004453/0.7331, allocations: 1.315 MB / 0.8221 GB, free: 72 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005001/0.7381, allocations: 2.676 MB / 0.8247 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001861/0.7399, allocations: 0.736 MB / 0.8254 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005013/0.745, allocations: 1.489 MB / 0.8269 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001764/0.7467, allocations: 0.7464 MB / 0.8276 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001887/0.7469, allocations: 85.62 kB / 0.8277 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003485/0.7504, allocations: 0.9188 MB / 0.8286 GB, free: 12 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003774/0.7508, allocations: 256.4 kB / 0.8288 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.7518, allocations: 0.5325 MB / 0.8294 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005187/0.757, allocations: 1.698 MB / 0.831 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.757, allocations: 1.219 kB / 0.831 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.873e-06/0.757, allocations: 0 / 0.831 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.108e-05/0.7571, allocations: 0 / 0.831 GB, free: 10.34 MB / 0.6231 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.002931/0.76, allocations: 1.333 MB / 0.8323 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.76, allocations: 8.469 kB / 0.8323 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000338/0.7604, allocations: 124.7 kB / 0.8324 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.7619, allocations: 0.7646 MB / 0.8332 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.76e-05/0.762, allocations: 50.31 kB / 0.8332 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.7621, allocations: 73.31 kB / 0.8333 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.7635, allocations: 0.7856 MB / 0.8341 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.7636, allocations: 5.344 kB / 0.8341 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.686e-05/0.7636, allocations: 27.34 kB / 0.8341 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.7637, allocations: 16.34 kB / 0.8341 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.7648, allocations: 0.516 MB / 0.8346 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00492/0.7697, allocations: 3.762 MB / 0.8383 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007771/0.7705, allocations: 319.2 kB / 0.8386 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/0.7709, allocations: 189.4 kB / 0.8388 GB, free: 4.047 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004298/0.7713, allocations: 123.1 kB / 0.8389 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006078/0.7719, allocations: 265.9 kB / 0.8392 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.404e-06/0.7719, allocations: 1.469 kB / 0.8392 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=41): time 0.00168/0.7736, allocations: 0.6483 MB / 0.8398 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.7737, allocations: 110.6 kB / 0.8399 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.7751, allocations: 0.8157 MB / 0.8407 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.789e-05/0.7752, allocations: 42.3 kB / 0.8407 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005142/0.7757, allocations: 480.8 kB / 0.8412 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.7759, allocations: 137.2 kB / 0.8413 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.7761, allocations: 126.3 kB / 0.8414 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.7763, allocations: 327 kB / 0.8417 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004071/0.7767, allocations: 174.9 kB / 0.8419 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006502/0.7774, allocations: 394.5 kB / 0.8423 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009947/0.7783, allocations: 0.5442 MB / 0.8428 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.7784, allocations: 2.219 kB / 0.8428 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001451/0.7798, allocations: 0.6549 MB / 0.8435 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.7798, allocations: 9.688 kB / 0.8435 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.7798, allocations: 5.938 kB / 0.8435 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.7799, allocations: 12.88 kB / 0.8435 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004555/0.7803, allocations: 120.3 kB / 0.8436 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/0.7803, allocations: 17.05 kB / 0.8436 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006728/0.781, allocations: 83.58 kB / 0.8437 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.733e-05/0.7811, allocations: 34.23 kB / 0.8437 GB, free: 0.6328 MB / 0.6231 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.0004511/0.7816, allocations: 268 kB / 0.844 GB, free: 432 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.7817, allocations: 97.95 kB / 0.8441 GB, free: 380 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/0.7839, allocations: 1.121 MB / 0.8452 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.172e-05/0.7839, allocations: 14.88 kB / 0.8452 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.7839, allocations: 0.8438 kB / 0.8452 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.7839, allocations: 3.984 kB / 0.8452 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003365/0.7873, allocations: 1.958 MB / 0.8471 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/0.7873, allocations: 6.344 kB / 0.8471 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003037/0.7876, allocations: 84.8 kB / 0.8472 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.7876, allocations: 5.5 kB / 0.8472 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/0.7877, allocations: 21.61 kB / 0.8472 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.106e-05/0.7877, allocations: 13.38 kB / 0.8472 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.7877, allocations: 4.125 kB / 0.8472 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.7895, allocations: 1.011 MB / 0.8482 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004862/0.79, allocations: 196.8 kB / 0.8484 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.7901, allocations: 16.06 kB / 0.8484 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004128/0.7905, allocations: 36.53 kB / 0.8485 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.7906, allocations: 61.78 kB / 0.8485 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.111e-05/0.7907, allocations: 34.33 kB / 0.8486 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009485/0.7917, allocations: 0.5563 MB / 0.8491 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.7917, allocations: 0 / 0.8491 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001461/0.7931, allocations: 357.4 kB / 0.8494 GB, free: 13.09 MB / 0.6387 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 (69): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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.002356/0.7955, allocations: 0.7619 MB / 0.8502 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001477/0.7969, allocations: 0.5847 MB / 0.8508 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.797, allocations: 0 / 0.8508 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007314/0.7977, allocations: 361.1 kB / 0.8511 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/0.7998, allocations: 410.4 kB / 0.8515 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/0.8031, allocations: 1.789 MB / 0.8532 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008351/0.804, allocations: 1.05 MB / 0.8543 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006442/0.8046, allocations: 191 kB / 0.8544 GB, free: 8.633 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.8048, allocations: 95.33 kB / 0.8545 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of SimCode: time 8.42e-07/0.8048, allocations: 0 / 0.8545 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of Templates: time 0.03943/0.8443, allocations: 20.08 MB / 0.8741 GB, free: 4.688 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.sim & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.62770701572299] Failed to read output from testmodel.py, exit status != 0: 0.8538230760022998 0.869015772 0.10856025600000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc3c33997b0>