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.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.001633/0.001633, allocations: 82.48 kB / 19.18 MB, free: 2.527 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.002048/0.002048, allocations: 169.8 kB / 22.46 MB, free: 5.359 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.45/1.45, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.189/1.189, allocations: 154.6 MB / 413.7 MB, free: 5.305 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_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 1.573e-06/1.573e-06, allocations: 0 / 0.6185 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.967e-05/3.124e-05, allocations: 3.906 kB / 0.6185 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.04819/0.04822, allocations: 40.12 MB / 0.6577 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01394/0.06216, allocations: 8.199 MB / 0.6657 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.06359, allocations: 63.44 kB / 0.6657 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.06519, allocations: 0.535 MB / 0.6663 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004483/0.06967, allocations: 1.643 MB / 0.6679 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00327/0.07294, allocations: 1.302 MB / 0.6691 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003764/0.07671, allocations: 2.676 MB / 0.6718 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.07801, allocations: 0.7311 MB / 0.6725 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003507/0.08152, allocations: 1.834 MB / 0.6743 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.08287, allocations: 0.6268 MB / 0.6749 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.08302, allocations: 88 kB / 0.675 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.08485, allocations: 0.7638 MB / 0.6757 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003308/0.08518, allocations: 278.8 kB / 0.676 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005359/0.08572, allocations: 371 kB / 0.6763 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002513/0.08823, allocations: 1.737 MB / 0.678 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.08824, allocations: 0 / 0.678 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.403e-06/0.08824, allocations: 0 / 0.678 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.08825, allocations: 0 / 0.678 GB, free: 7.535 MB / 0.5919 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.002063/0.09031, allocations: 1.354 MB / 0.6793 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.09035, allocations: 9.469 kB / 0.6794 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003571/0.09071, allocations: 132.2 kB / 0.6795 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.09205, allocations: 0.755 MB / 0.6802 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.693e-05/0.09211, allocations: 53.69 kB / 0.6803 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.09221, allocations: 71.92 kB / 0.6803 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.09366, allocations: 0.9407 MB / 0.6813 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.09367, allocations: 3.938 kB / 0.6813 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.95e-05/0.09374, allocations: 36 kB / 0.6813 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.09376, allocations: 16 kB / 0.6813 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.09479, allocations: 0.5125 MB / 0.6818 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003581/0.09838, allocations: 2.945 MB / 0.6847 GB, free: 464 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007314/0.09911, allocations: 332.8 kB / 0.685 GB, free: 124 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003934/0.0995, allocations: 192.5 kB / 0.6852 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003693/0.09987, allocations: 120.2 kB / 0.6853 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000618/0.1005, allocations: 370.1 kB / 0.6857 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 2.425e-06/0.1005, allocations: 4 kB / 0.6857 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.001529/0.102, allocations: 0.6498 MB / 0.6863 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/0.1021, allocations: 106.8 kB / 0.6864 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.1031, allocations: 0.7472 MB / 0.6871 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/0.1032, allocations: 33.7 kB / 0.6872 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004261/0.1036, allocations: 496.2 kB / 0.6876 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.1037, allocations: 138.8 kB / 0.6878 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.1039, allocations: 130.3 kB / 0.6879 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1041, allocations: 329.9 kB / 0.6882 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.1045, allocations: 173.2 kB / 0.6884 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000825/0.1053, allocations: 0.751 MB / 0.6891 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009665/0.1063, allocations: 0.5493 MB / 0.6896 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1063, allocations: 0 / 0.6896 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001338/0.1076, allocations: 0.6488 MB / 0.6903 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1076, allocations: 12.03 kB / 0.6903 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.1076, allocations: 8 kB / 0.6903 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.1076, allocations: 8 kB / 0.6903 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004604/0.1081, allocations: 123.8 kB / 0.6904 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.1081, allocations: 11.94 kB / 0.6904 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.1086, allocations: 75.62 kB / 0.6905 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.661e-05/0.1087, allocations: 31.98 kB / 0.6905 GB, free: 10.11 MB / 0.6075 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.0004169/0.1091, allocations: 273.5 kB / 0.6908 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.1093, allocations: 87.44 kB / 0.6909 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.1114, allocations: 1.128 MB / 0.692 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/0.1114, allocations: 12 kB / 0.692 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1114, allocations: 0 / 0.692 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.1114, allocations: 7.984 kB / 0.692 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/0.1144, allocations: 1.823 MB / 0.6938 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.1144, allocations: 4 kB / 0.6938 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/0.1147, allocations: 83.89 kB / 0.6939 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/0.1147, allocations: 7.938 kB / 0.6939 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/0.1148, allocations: 27.98 kB / 0.6939 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.505e-06/0.1148, allocations: 4 kB / 0.6939 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.1148, allocations: 7.938 kB / 0.6939 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.1164, allocations: 1.013 MB / 0.6949 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003559/0.1167, allocations: 198.9 kB / 0.6951 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.1169, allocations: 20 kB / 0.6951 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003803/0.1172, allocations: 35.97 kB / 0.6951 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.1174, allocations: 60.28 kB / 0.6952 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.611e-05/0.1174, allocations: 35.92 kB / 0.6952 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007272/0.1182, allocations: 0.5068 MB / 0.6957 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1182, allocations: 0 / 0.6957 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001139/0.1193, allocations: 394.8 kB / 0.6961 GB, free: 4.27 MB / 0.6075 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 (71): * Single equations (assignments): 51 * 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.002559/0.1219, allocations: 0.8542 MB / 0.6969 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001294/0.1232, allocations: 0.5808 MB / 0.6975 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.1232, allocations: 384 / 0.6975 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007099/0.1239, allocations: 370.7 kB / 0.6979 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.1255, allocations: 315.6 kB / 0.6982 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/0.1288, allocations: 1.764 MB / 0.6999 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00052/0.1293, allocations: 475.5 kB / 0.7003 GB, free: 96 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.2995/0.4287, allocations: 174.1 kB / 0.7005 GB, free: 87.64 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.429, allocations: 91.88 kB / 0.7006 GB, free: 87.64 MB / 0.6075 GB Notification: Performance of SimCode: time 1.082e-06/0.429, allocations: 0.625 kB / 0.7006 GB, free: 87.64 MB / 0.6075 GB Notification: Performance of Templates: time 0.03178/0.4608, allocations: 18.31 MB / 0.7185 GB, free: 83.35 MB / 0.6075 GB " [Timeout remaining time 660] 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: 6.7173627354204655] Failed to read output from testmodel.py, exit status != 0: 0.47002702578902245 0.48249431699999995 0.391531714 Calling exit ...