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.0008314/0.0008314, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009579/0.0009579, allocations: 173 kB / 23.36 MB, free: 1.133 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 0.9886/0.9886, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8349/0.8349, allocations: 154.6 MB / 414.8 MB, free: 0.4961 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 179] 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.293e-06/1.293e-06, allocations: 0 / 480 MB, free: 6.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.516e-05/1.645e-05, allocations: 6.297 kB / 480 MB, free: 6.934 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.009125/0.009142, allocations: 11.57 MB / 491.6 MB, free: 11.4 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006769/0.01591, allocations: 4.937 MB / 496.5 MB, free: 6.492 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007225/0.01663, allocations: 59.44 kB / 496.6 MB, free: 6.434 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006327/0.01727, allocations: 342 kB / 496.9 MB, free: 6.098 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.01886, allocations: 1.03 MB / 497.9 MB, free: 5.07 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.02048, allocations: 1.119 MB / 499.1 MB, free: 3.953 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002037/0.02252, allocations: 2.628 MB / 0.4899 GB, free: 1.316 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006888/0.02321, allocations: 0.7499 MB / 0.4907 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.02424, allocations: 1.225 MB / 0.4919 GB, free: 15.32 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005771/0.02482, allocations: 0.5987 MB / 0.4924 GB, free: 14.73 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.042e-05/0.02491, allocations: 95.94 kB / 0.4925 GB, free: 14.63 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005031/0.02542, allocations: 352.2 kB / 0.4929 GB, free: 14.29 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.02559, allocations: 274.9 kB / 0.4931 GB, free: 14.02 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.02584, allocations: 367.6 kB / 0.4935 GB, free: 13.66 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008177/0.02665, allocations: 0.9886 MB / 0.4945 GB, free: 12.67 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.02666, allocations: 1.062 kB / 0.4945 GB, free: 12.67 MB / 474.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.02666, allocations: 0 / 0.4945 GB, free: 12.67 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.02666, allocations: 1.406 kB / 0.4945 GB, free: 12.67 MB / 474.7 MB 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.001343/0.02801, allocations: 1.271 MB / 0.4957 GB, free: 11.37 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.02804, allocations: 8.781 kB / 0.4957 GB, free: 11.36 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.02826, allocations: 142.2 kB / 0.4958 GB, free: 11.22 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007052/0.02896, allocations: 0.6543 MB / 0.4965 GB, free: 10.54 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.029, allocations: 53.69 kB / 0.4965 GB, free: 10.49 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.762e-05/0.02905, allocations: 81.45 kB / 0.4966 GB, free: 10.41 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005413/0.0296, allocations: 0.7246 MB / 0.4973 GB, free: 9.586 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.02961, allocations: 7.938 kB / 0.4973 GB, free: 9.578 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.02964, allocations: 30.06 kB / 0.4974 GB, free: 9.551 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.02966, allocations: 19.98 kB / 0.4974 GB, free: 9.531 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.0299, allocations: 204.7 kB / 0.4976 GB, free: 9.332 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.0315, allocations: 2.482 MB / 0.5 GB, free: 6.777 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.03171, allocations: 210 kB / 0.5002 GB, free: 6.562 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.887e-05/0.03179, allocations: 82.12 kB / 0.5003 GB, free: 6.48 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.56e-05/0.03189, allocations: 44.28 kB / 0.5003 GB, free: 6.438 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.03209, allocations: 266.9 kB / 0.5006 GB, free: 6.141 MB / 474.7 MB Notification: Performance of pre-optimization done (n=41): time 1.693e-06/0.0321, allocations: 0 / 0.5006 GB, free: 6.141 MB / 474.7 MB Notification: Performance of matching and sorting (n=41): time 0.0003266/0.03242, allocations: 269 kB / 0.5008 GB, free: 5.871 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.03246, allocations: 110.6 kB / 0.5009 GB, free: 5.738 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004116/0.03287, allocations: 0.6444 MB / 0.5016 GB, free: 5.086 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.0329, allocations: 37.7 kB / 0.5016 GB, free: 5.043 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.03306, allocations: 374.1 kB / 0.502 GB, free: 4.672 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.87e-05/0.03313, allocations: 138.8 kB / 0.5021 GB, free: 4.535 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.03324, allocations: 122.2 kB / 0.5022 GB, free: 4.406 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.19e-05/0.03331, allocations: 333.9 kB / 0.5025 GB, free: 4.074 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.424e-05/0.03339, allocations: 53.64 kB / 0.5026 GB, free: 4.023 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005204/0.03391, allocations: 0.6059 MB / 0.5032 GB, free: 3.254 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.03417, allocations: 336.3 kB / 0.5035 GB, free: 2.855 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.03417, allocations: 5.469 kB / 0.5035 GB, free: 2.852 MB / 474.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003417/0.03452, allocations: 348.3 kB / 0.5038 GB, free: 2.508 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.03453, allocations: 8 kB / 0.5038 GB, free: 2.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.03454, allocations: 8 kB / 0.5038 GB, free: 2.492 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.03455, allocations: 8 kB / 0.5038 GB, free: 2.484 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.03479, allocations: 129 kB / 0.504 GB, free: 2.359 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.0348, allocations: 15.92 kB / 0.504 GB, free: 2.344 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.03499, allocations: 64.64 kB / 0.504 GB, free: 2.281 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/0.03503, allocations: 31.98 kB / 0.5041 GB, free: 2.25 MB / 474.7 MB 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.0001467/0.03518, allocations: 164.3 kB / 0.5042 GB, free: 2.082 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/0.03524, allocations: 63.88 kB / 0.5043 GB, free: 2.02 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000642/0.03588, allocations: 0.604 MB / 0.5049 GB, free: 1.41 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.03589, allocations: 17.64 kB / 0.5049 GB, free: 1.395 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.0359, allocations: 0 / 0.5049 GB, free: 1.395 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.0359, allocations: 3.984 kB / 0.5049 GB, free: 1.391 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009879/0.03689, allocations: 1.123 MB / 0.506 GB, free: 204 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.03689, allocations: 5.344 kB / 0.506 GB, free: 200 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.03704, allocations: 87.89 kB / 0.5061 GB, free: 112 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.03705, allocations: 7.984 kB / 0.5061 GB, free: 104 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.03707, allocations: 17.34 kB / 0.5061 GB, free: 88 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.03708, allocations: 15.86 kB / 0.5061 GB, free: 72 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.03708, allocations: 4 kB / 0.5061 GB, free: 68 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.03747, allocations: 0.5905 MB / 0.5067 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.03762, allocations: 143.1 kB / 0.5068 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.429e-05/0.03768, allocations: 16 kB / 0.5069 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.03783, allocations: 31.91 kB / 0.5069 GB, free: 15.22 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/0.03789, allocations: 52.36 kB / 0.5069 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.03792, allocations: 28.55 kB / 0.507 GB, free: 15.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002211/0.03815, allocations: 320.3 kB / 0.5073 GB, free: 14.84 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03815, allocations: 0 / 0.5073 GB, free: 14.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004379/0.03858, allocations: 291.2 kB / 0.5075 GB, free: 14.55 MB / 490.7 MB 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 (65): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001378/0.03996, allocations: 0.7196 MB / 0.5083 GB, free: 14.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.04027, allocations: 308.7 kB / 0.5085 GB, free: 13.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.04028, allocations: 8 kB / 0.5086 GB, free: 13.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.04045, allocations: 186.9 kB / 0.5087 GB, free: 13.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006988/0.04115, allocations: 320.5 kB / 0.509 GB, free: 13.44 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.04307, allocations: 1.556 MB / 0.5106 GB, free: 11.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.04318, allocations: 193.2 kB / 0.5107 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002433/0.04342, allocations: 144.8 kB / 0.5109 GB, free: 11.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004665/0.04389, allocations: 344.3 kB / 0.5112 GB, free: 11.12 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/0.04389, allocations: 0 / 0.5112 GB, free: 11.12 MB / 490.7 MB Notification: Performance of Templates: time 0.0174/0.06129, allocations: 16.82 MB / 0.5276 GB, free: 10.86 MB / 0.4948 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8865093551576138]