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.001395/0.001395, allocations: 88.72 kB / 19.44 MB, free: 356 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.001711/0.001711, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.515/1.515, 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.255/1.255, allocations: 154.6 MB / 414.2 MB, free: 0.6133 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.763e-06/1.763e-06, allocations: 0 / 0.5196 GB, free: 2.555 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.141e-05/3.317e-05, allocations: 4.281 kB / 0.5196 GB, free: 2.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.05647/0.05651, allocations: 40.1 MB / 0.5588 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01514/0.07165, allocations: 8.213 MB / 0.5668 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.07291, allocations: 60.22 kB / 0.5668 GB, free: 2.199 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.07443, allocations: 0.5389 MB / 0.5674 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.004428/0.07886, allocations: 1.643 MB / 0.569 GB, free: 20 kB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.003269/0.08213, allocations: 1.29 MB / 0.5702 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004892/0.08702, allocations: 2.67 MB / 0.5728 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002191/0.08921, allocations: 0.7662 MB / 0.5736 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004989/0.0942, allocations: 1.837 MB / 0.5754 GB, free: 9.438 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.09577, allocations: 0.6268 MB / 0.576 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.09594, allocations: 92 kB / 0.5761 GB, free: 8.719 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002106/0.09804, allocations: 0.7677 MB / 0.5768 GB, free: 7.949 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003562/0.0984, allocations: 262.9 kB / 0.5771 GB, free: 7.691 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005811/0.09898, allocations: 379 kB / 0.5774 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002792/0.1018, allocations: 1.737 MB / 0.5791 GB, free: 5.578 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1018, allocations: 0 / 0.5791 GB, free: 5.578 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1018, allocations: 0 / 0.5791 GB, free: 5.578 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.1018, allocations: 0 / 0.5791 GB, free: 5.578 MB / 0.5417 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.002448/0.1042, allocations: 1.35 MB / 0.5805 GB, free: 4.188 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1043, allocations: 8.031 kB / 0.5805 GB, free: 4.18 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004547/0.1047, allocations: 192.2 kB / 0.5807 GB, free: 3.992 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.1062, allocations: 0.8058 MB / 0.5814 GB, free: 3.16 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/0.1063, allocations: 53.67 kB / 0.5815 GB, free: 3.109 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.1064, allocations: 75.94 kB / 0.5816 GB, free: 3.035 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.1081, allocations: 0.9446 MB / 0.5825 GB, free: 1.988 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.1081, allocations: 0 / 0.5825 GB, free: 1.988 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-05/0.1081, allocations: 32 kB / 0.5825 GB, free: 1.957 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/0.1082, allocations: 16 kB / 0.5825 GB, free: 1.941 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.1093, allocations: 0.5202 MB / 0.583 GB, free: 1.422 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004228/0.1136, allocations: 2.972 MB / 0.5859 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008033/0.1144, allocations: 323.8 kB / 0.5863 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004183/0.1148, allocations: 193.4 kB / 0.5864 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004293/0.1152, allocations: 116.2 kB / 0.5865 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008027/0.116, allocations: 366.1 kB / 0.5869 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=41): time 2.665e-06/0.116, allocations: 4 kB / 0.5869 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of matching and sorting (n=41): time 0.001697/0.1177, allocations: 0.6681 MB / 0.5876 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.164e-05/0.1178, allocations: 106.8 kB / 0.5877 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.1189, allocations: 0.7472 MB / 0.5884 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.802e-05/0.119, allocations: 33.7 kB / 0.5884 GB, free: 11.72 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004984/0.1195, allocations: 496.2 kB / 0.5889 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.1196, allocations: 138.8 kB / 0.589 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.1199, allocations: 130.3 kB / 0.5891 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.1201, allocations: 333.8 kB / 0.5895 GB, free: 10.63 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004/0.1205, allocations: 173.2 kB / 0.5896 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009336/0.1214, allocations: 0.7435 MB / 0.5904 GB, free: 9.551 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.1225, allocations: 0.5503 MB / 0.5909 GB, free: 8.926 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.1225, allocations: 0 / 0.5909 GB, free: 8.926 MB / 0.5573 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001472/0.1239, allocations: 0.6725 MB / 0.5915 GB, free: 8.246 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.124, allocations: 8 kB / 0.5916 GB, free: 8.238 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.124, allocations: 4 kB / 0.5916 GB, free: 8.234 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.055e-05/0.124, allocations: 8 kB / 0.5916 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004741/0.1245, allocations: 119.8 kB / 0.5917 GB, free: 8.109 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-05/0.1245, allocations: 15.92 kB / 0.5917 GB, free: 8.094 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005394/0.125, allocations: 71.64 kB / 0.5918 GB, free: 8.023 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.392e-05/0.1251, allocations: 35.98 kB / 0.5918 GB, free: 7.988 MB / 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.0004294/0.1256, allocations: 273.4 kB / 0.5921 GB, free: 7.711 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.1257, allocations: 103.4 kB / 0.5922 GB, free: 7.609 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/0.1281, allocations: 1.128 MB / 0.5933 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.8e-05/0.1281, allocations: 11.98 kB / 0.5933 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1281, allocations: 0 / 0.5933 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.1281, allocations: 3.984 kB / 0.5933 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003436/0.1315, allocations: 1.827 MB / 0.5951 GB, free: 4.562 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.1316, allocations: 4 kB / 0.5951 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/0.1319, allocations: 87.89 kB / 0.5951 GB, free: 4.473 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.142e-05/0.1319, allocations: 11.88 kB / 0.5952 GB, free: 4.461 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-05/0.132, allocations: 27.98 kB / 0.5952 GB, free: 4.434 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.132, allocations: 7.984 kB / 0.5952 GB, free: 4.426 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.132, allocations: 4 kB / 0.5952 GB, free: 4.422 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.1339, allocations: 1.032 MB / 0.5962 GB, free: 3.336 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004044/0.1343, allocations: 195 kB / 0.5964 GB, free: 3.145 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.1344, allocations: 16 kB / 0.5964 GB, free: 3.129 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/0.1349, allocations: 31.97 kB / 0.5964 GB, free: 3.098 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.135, allocations: 64.33 kB / 0.5965 GB, free: 3.035 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.596e-05/0.1351, allocations: 39.92 kB / 0.5965 GB, free: 2.996 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008404/0.1359, allocations: 0.499 MB / 0.597 GB, free: 2.504 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1359, allocations: 7.938 kB / 0.597 GB, free: 2.496 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00129/0.1372, allocations: 390.8 kB / 0.5974 GB, free: 2.113 MB / 0.5573 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.003349/0.1406, allocations: 0.8541 MB / 0.5982 GB, free: 1.512 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.142, allocations: 0.5886 MB / 0.5988 GB, free: 0.9258 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.142, allocations: 4.125 kB / 0.5988 GB, free: 0.9219 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007898/0.1428, allocations: 370.7 kB / 0.5992 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.1446, allocations: 341.2 kB / 0.5995 GB, free: 252 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.1487, allocations: 1.796 MB / 0.6013 GB, free: 14.38 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006493/0.1493, allocations: 475.5 kB / 0.6017 GB, free: 13.88 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006025/0.1499, allocations: 178 kB / 0.6019 GB, free: 13.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.1502, allocations: 96.39 kB / 0.602 GB, free: 13.61 MB / 0.573 GB Notification: Performance of SimCode: time 1.202e-06/0.1502, allocations: 0 / 0.602 GB, free: 13.61 MB / 0.573 GB Notification: Performance of Templates: time 0.03692/0.1871, allocations: 18.42 MB / 0.62 GB, free: 11.55 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.671870006946847]