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.00178/0.00178, allocations: 93.47 kB / 19.44 MB, free: 332 kB / 13.93 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.002096/0.002096, allocations: 169.2 kB / 22.76 MB, free: 1.66 MB / 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 1.562/1.562, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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-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 1.325/1.325, allocations: 154.6 MB / 414.1 MB, free: 0.6328 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 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.823e-06/1.823e-06, allocations: 0 / 0.5196 GB, free: 2.613 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.255e-05, allocations: 4.422 kB / 0.5196 GB, free: 2.609 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.06904/0.06907, allocations: 45.27 MB / 0.5638 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01662/0.08569, allocations: 8.925 MB / 0.5725 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001642/0.08733, allocations: 63.38 kB / 0.5726 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.08894, allocations: 0.5467 MB / 0.5731 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.004673/0.09361, allocations: 1.645 MB / 0.5747 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003379/0.09699, allocations: 1.298 MB / 0.576 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.00397/0.101, allocations: 2.661 MB / 0.5786 GB, free: 6.207 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.1024, allocations: 0.7665 MB / 0.5793 GB, free: 5.43 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004377/0.1068, allocations: 1.838 MB / 0.5811 GB, free: 3.586 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.1085, allocations: 0.6347 MB / 0.5818 GB, free: 2.949 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.1087, allocations: 91.94 kB / 0.5818 GB, free: 2.859 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002028/0.1107, allocations: 0.7715 MB / 0.5826 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003478/0.111, allocations: 262.9 kB / 0.5828 GB, free: 1.828 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005674/0.1116, allocations: 367.1 kB / 0.5832 GB, free: 1.469 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.003057/0.1147, allocations: 1.749 MB / 0.5849 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1147, allocations: 0 / 0.5849 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1147, allocations: 4 kB / 0.5849 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.482e-05/0.1147, allocations: 0 / 0.5849 GB, free: 15.71 MB / 0.5573 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.002535/0.1172, allocations: 1.536 MB / 0.5864 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1172, allocations: 16.02 kB / 0.5864 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006941/0.1179, allocations: 180.2 kB / 0.5866 GB, free: 13.94 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.1194, allocations: 0.8047 MB / 0.5874 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.9e-05/0.1195, allocations: 49.69 kB / 0.5874 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.1196, allocations: 83.88 kB / 0.5875 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.1212, allocations: 1.001 MB / 0.5885 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.1213, allocations: 3.938 kB / 0.5885 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-05/0.1213, allocations: 28 kB / 0.5885 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.1214, allocations: 16 kB / 0.5885 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.1224, allocations: 468.8 kB / 0.589 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005816/0.1282, allocations: 4.05 MB / 0.5929 GB, free: 7.172 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007501/0.129, allocations: 288.3 kB / 0.5932 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003462/0.1293, allocations: 164.2 kB / 0.5934 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000671/0.13, allocations: 112.2 kB / 0.5935 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006496/0.1306, allocations: 348 kB / 0.5938 GB, free: 6.227 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=41): time 2.795e-06/0.1306, allocations: 0 / 0.5938 GB, free: 6.227 MB / 0.5573 GB Notification: Performance of matching and sorting (n=41): time 0.00154/0.1322, allocations: 0.5667 MB / 0.5944 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.895e-05/0.1323, allocations: 110.8 kB / 0.5945 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.1337, allocations: 0.9524 MB / 0.5954 GB, free: 4.551 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.806e-05/0.1337, allocations: 37.7 kB / 0.5954 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005994/0.1343, allocations: 0.5809 MB / 0.596 GB, free: 3.922 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.1345, allocations: 146.9 kB / 0.5961 GB, free: 3.777 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/0.1348, allocations: 151.9 kB / 0.5963 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003085/0.1351, allocations: 0.5199 MB / 0.5968 GB, free: 3.094 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.1354, allocations: 137.2 kB / 0.5969 GB, free: 2.961 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009848/0.1364, allocations: 0.7908 MB / 0.5977 GB, free: 1.973 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.1374, allocations: 0.5568 MB / 0.5982 GB, free: 1.312 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.946e-06/0.1374, allocations: 7.938 kB / 0.5982 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0014/0.1388, allocations: 0.6054 MB / 0.5988 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.1389, allocations: 8 kB / 0.5988 GB, free: 0.6836 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.1389, allocations: 8 kB / 0.5989 GB, free: 0.6758 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.1389, allocations: 8 kB / 0.5989 GB, free: 0.668 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.1394, allocations: 119.8 kB / 0.599 GB, free: 0.5508 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.477e-05/0.1394, allocations: 16.52 kB / 0.599 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000479/0.1399, allocations: 71.61 kB / 0.5991 GB, free: 476 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.011e-05/0.1399, allocations: 31.98 kB / 0.5991 GB, free: 444 kB / 0.5573 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.0004759/0.1404, allocations: 296.3 kB / 0.5994 GB, free: 136 kB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.1406, allocations: 107.4 kB / 0.5995 GB, free: 28 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002071/0.1427, allocations: 0.925 MB / 0.6004 GB, free: 15.09 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.792e-05/0.1427, allocations: 15.98 kB / 0.6004 GB, free: 15.08 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1427, allocations: 0 / 0.6004 GB, free: 15.08 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.1427, allocations: 0 / 0.6004 GB, free: 15.08 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003257/0.146, allocations: 1.828 MB / 0.6022 GB, free: 13.16 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.146, allocations: 4 kB / 0.6022 GB, free: 13.16 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/0.1463, allocations: 83.89 kB / 0.6023 GB, free: 13.07 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.787e-05/0.1463, allocations: 11.94 kB / 0.6023 GB, free: 13.06 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.635e-05/0.1464, allocations: 19.98 kB / 0.6023 GB, free: 13.04 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.809e-06/0.1464, allocations: 8 kB / 0.6023 GB, free: 13.04 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.1464, allocations: 7.938 kB / 0.6023 GB, free: 13.03 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.1481, allocations: 0.9411 MB / 0.6032 GB, free: 12.02 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004335/0.1485, allocations: 191 kB / 0.6034 GB, free: 11.83 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.1486, allocations: 19.98 kB / 0.6034 GB, free: 11.81 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.149, allocations: 27.98 kB / 0.6035 GB, free: 11.79 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.1491, allocations: 64.28 kB / 0.6035 GB, free: 11.72 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-05/0.1492, allocations: 35.92 kB / 0.6035 GB, free: 11.69 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008779/0.1501, allocations: 0.5849 MB / 0.6041 GB, free: 11.11 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1501, allocations: 0 / 0.6041 GB, free: 11.11 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001258/0.1513, allocations: 379 kB / 0.6045 GB, free: 10.74 MB / 0.573 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.003959/0.1553, allocations: 0.8491 MB / 0.6053 GB, free: 10.14 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001291/0.1566, allocations: 0.4961 MB / 0.6058 GB, free: 9.645 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.1566, allocations: 4 kB / 0.6058 GB, free: 9.641 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006134/0.1572, allocations: 304.9 kB / 0.6061 GB, free: 9.336 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.159, allocations: 341.9 kB / 0.6064 GB, free: 9.016 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003788/0.1628, allocations: 1.74 MB / 0.6081 GB, free: 7.184 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/0.1634, allocations: 467.5 kB / 0.6086 GB, free: 6.695 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006507/0.164, allocations: 173.9 kB / 0.6087 GB, free: 6.523 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.1643, allocations: 96.45 kB / 0.6088 GB, free: 6.43 MB / 0.573 GB Notification: Performance of SimCode: time 2.315e-06/0.1643, allocations: 0 / 0.6088 GB, free: 6.43 MB / 0.573 GB Notification: Performance of Templates: time 0.03667/0.2009, allocations: 18.49 MB / 0.6269 GB, free: 4.305 MB / 0.5886 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: 6.910281622898765]