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.001624/0.001624, allocations: 80.2 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.001577/0.001577, allocations: 172.8 kB / 22.46 MB, free: 5.352 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.463/1.463, 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 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-531:686: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-531:694: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 1.246/1.246, allocations: 154.6 MB / 413.8 MB, free: 5.23 MB / 382.1 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 178] 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.573e-06/1.573e-06, allocations: 0 / 0.6186 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.69e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.05086/0.05088, allocations: 40.12 MB / 0.6577 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01583/0.06671, allocations: 8.201 MB / 0.6657 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002043/0.06876, allocations: 63.44 kB / 0.6658 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002154/0.07091, allocations: 0.5428 MB / 0.6663 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005907/0.07682, allocations: 1.647 MB / 0.6679 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00406/0.08088, allocations: 1.299 MB / 0.6692 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004701/0.08558, allocations: 2.677 MB / 0.6718 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/0.0875, allocations: 0.7272 MB / 0.6725 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005066/0.09257, allocations: 1.834 MB / 0.6743 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002011/0.09458, allocations: 0.619 MB / 0.6749 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003408/0.09492, allocations: 88 kB / 0.675 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002368/0.09729, allocations: 0.7754 MB / 0.6758 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005746/0.09786, allocations: 266.9 kB / 0.676 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.09893, allocations: 367.1 kB / 0.6764 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003944/0.1029, allocations: 1.741 MB / 0.6781 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1029, allocations: 0 / 0.6781 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1029, allocations: 3.938 kB / 0.6781 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.974e-05/0.1029, allocations: 0 / 0.6781 GB, free: 7.434 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.00301/0.1059, allocations: 1.351 MB / 0.6794 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.106, allocations: 8.031 kB / 0.6794 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005/0.1065, allocations: 136.2 kB / 0.6795 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.1082, allocations: 0.7551 MB / 0.6803 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-05/0.1083, allocations: 49.69 kB / 0.6803 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.1084, allocations: 71.92 kB / 0.6804 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.1102, allocations: 0.9446 MB / 0.6813 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.1102, allocations: 0 / 0.6813 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.706e-05/0.1102, allocations: 35.98 kB / 0.6813 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.1103, allocations: 16 kB / 0.6814 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.1114, allocations: 0.5202 MB / 0.6819 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004493/0.1159, allocations: 2.945 MB / 0.6847 GB, free: 352 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008047/0.1167, allocations: 328.8 kB / 0.6851 GB, free: 16 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004299/0.1172, allocations: 193.5 kB / 0.6852 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004296/0.1176, allocations: 116.2 kB / 0.6854 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006818/0.1183, allocations: 366.3 kB / 0.6857 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 2.885e-06/0.1183, allocations: 4 kB / 0.6857 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.001683/0.12, allocations: 0.6563 MB / 0.6864 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.324e-05/0.1201, allocations: 106.8 kB / 0.6865 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.1213, allocations: 0.7472 MB / 0.6872 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.854e-05/0.1213, allocations: 37.7 kB / 0.6872 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004955/0.1218, allocations: 492.2 kB / 0.6877 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.122, allocations: 134.8 kB / 0.6878 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002459/0.1222, allocations: 138.2 kB / 0.6879 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1224, allocations: 325.9 kB / 0.6883 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004859/0.1229, allocations: 177.2 kB / 0.6884 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009353/0.1238, allocations: 0.7394 MB / 0.6891 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.1249, allocations: 0.5466 MB / 0.6897 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.1249, allocations: 0 / 0.6897 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001477/0.1263, allocations: 0.6527 MB / 0.6903 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.1264, allocations: 12.03 kB / 0.6903 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.1264, allocations: 8 kB / 0.6903 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/0.1264, allocations: 8 kB / 0.6903 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004904/0.1269, allocations: 123.8 kB / 0.6905 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.208e-05/0.1269, allocations: 8 kB / 0.6905 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005592/0.1275, allocations: 67.64 kB / 0.6905 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.522e-05/0.1276, allocations: 35.97 kB / 0.6906 GB, free: 10.02 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.0004516/0.128, allocations: 277.4 kB / 0.6908 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.1282, allocations: 87.44 kB / 0.6909 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002458/0.1307, allocations: 1.12 MB / 0.692 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.98e-05/0.1307, allocations: 19.98 kB / 0.692 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.1307, allocations: 0 / 0.692 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.1307, allocations: 7.984 kB / 0.692 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003534/0.1342, allocations: 1.823 MB / 0.6938 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.1343, allocations: 4 kB / 0.6938 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004125/0.1347, allocations: 95.77 kB / 0.6939 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.324e-05/0.1347, allocations: 7.938 kB / 0.6939 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-05/0.1347, allocations: 23.98 kB / 0.6939 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.1347, allocations: 4 kB / 0.694 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/0.1348, allocations: 11.94 kB / 0.694 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.1365, allocations: 1.013 MB / 0.695 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004143/0.137, allocations: 198.9 kB / 0.6951 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.1371, allocations: 19.98 kB / 0.6952 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/0.1375, allocations: 35.97 kB / 0.6952 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.1377, allocations: 52.41 kB / 0.6952 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-05/0.1378, allocations: 39.92 kB / 0.6953 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008522/0.1386, allocations: 0.5068 MB / 0.6958 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1386, allocations: 0 / 0.6958 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001389/0.14, allocations: 386.9 kB / 0.6961 GB, free: 4.176 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.00305/0.143, allocations: 0.8596 MB / 0.697 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001379/0.1444, allocations: 0.5808 MB / 0.6976 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.1444, allocations: 384 / 0.6976 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007728/0.1452, allocations: 378.7 kB / 0.6979 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/0.147, allocations: 312.1 kB / 0.6982 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.1507, allocations: 1.767 MB / 0.6999 GB, free: 500 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3234/0.4742, allocations: 472.3 kB / 0.7004 GB, free: 87.61 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008518/0.475, allocations: 174.3 kB / 0.7006 GB, free: 87.61 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.4752, allocations: 96.14 kB / 0.7006 GB, free: 87.6 MB / 0.6075 GB Notification: Performance of SimCode: time 2.395e-06/0.4752, allocations: 0 / 0.7006 GB, free: 87.6 MB / 0.6075 GB Notification: Performance of Templates: time 0.03201/0.5072, allocations: 18.3 MB / 0.7185 GB, free: 83.28 MB / 0.6075 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.898993004113436] Failed to read output from testmodel.py, exit status != 0: 0.5163718797266483 0.52844282 0.422800443 Calling exit ...