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.0008884/0.0008884, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 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.0009072/0.0009072, allocations: 211.6 kB / 22.25 MB, free: 3.586 MB / 13.93 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.9607/0.9607, allocations: 230.6 MB / 256 MB, free: 9.418 MB / 202.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-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 0.7563/0.7563, allocations: 203.5 MB / 0.5039 GB, free: 10.68 MB / 410.7 MB " [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: "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.TapProfile,fileNamePrefix="IDEAS_IDEAS_Fluid_Taps_Examples_TapProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.TapProfile,fileNamePrefix="IDEAS_IDEAS_Fluid_Taps_Examples_TapProfile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 62.31 kB / 0.7178 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4804/0.4821, allocations: 102 MB / 0.8174 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.03243/0.5145, allocations: 40.46 MB / 0.8569 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01067/0.5252, allocations: 8.164 MB / 0.8648 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/0.5273, allocations: 59.59 kB / 0.8649 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.529, allocations: 0.5373 MB / 0.8654 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006047/0.535, allocations: 1.605 MB / 0.867 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003438/0.5385, allocations: 1.214 MB / 0.8682 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004296/0.5428, allocations: 2.694 MB / 0.8708 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00157/0.5443, allocations: 0.7371 MB / 0.8715 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003453/0.5478, allocations: 1.538 MB / 0.873 GB, free: 8.77 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.5492, allocations: 0.7041 MB / 0.8737 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002374/0.5494, allocations: 89.66 kB / 0.8738 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.5511, allocations: 0.7559 MB / 0.8745 GB, free: 7.977 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.000294/0.5514, allocations: 274.3 kB / 0.8748 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0009078/0.5523, allocations: 450.4 kB / 0.8752 GB, free: 7.496 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002873/0.5552, allocations: 1.721 MB / 0.8769 GB, free: 6.387 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.5552, allocations: 0 / 0.8769 GB, free: 6.387 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5552, allocations: 0 / 0.8769 GB, free: 6.387 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.06e-05/0.5553, allocations: 4.844 kB / 0.8769 GB, free: 6.383 MB / 0.6511 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.002447/0.5577, allocations: 1.351 MB / 0.8782 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.5578, allocations: 9.188 kB / 0.8783 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.5579, allocations: 113.5 kB / 0.8784 GB, free: 5.246 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004083/0.5583, allocations: 143.3 kB / 0.8785 GB, free: 5.172 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.5595, allocations: 0.7569 MB / 0.8792 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.974e-05/0.5596, allocations: 54.38 kB / 0.8793 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.227e-05/0.5596, allocations: 66.53 kB / 0.8794 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.5607, allocations: 0.9425 MB / 0.8803 GB, free: 3.789 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.5608, allocations: 9 kB / 0.8803 GB, free: 3.781 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.712e-05/0.5608, allocations: 32.47 kB / 0.8803 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.5608, allocations: 16.16 kB / 0.8803 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007419/0.5616, allocations: 0.5179 MB / 0.8808 GB, free: 3.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002905/0.5645, allocations: 3.069 MB / 0.8838 GB, free: 0.8789 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/0.565, allocations: 323.8 kB / 0.8841 GB, free: 0.707 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.5652, allocations: 194.6 kB / 0.8843 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003033/0.5655, allocations: 116.9 kB / 0.8844 GB, free: 0.5625 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007241/0.5662, allocations: 370.9 kB / 0.8848 GB, free: 272 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=41): time 3.166e-06/0.5662, allocations: 0 / 0.8848 GB, free: 272 kB / 0.6511 GB Notification: Performance of matching and sorting (n=41): time 0.001129/0.5674, allocations: 0.6679 MB / 0.8854 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.5674, allocations: 110.8 kB / 0.8855 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008539/0.5683, allocations: 0.862 MB / 0.8864 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.5683, allocations: 41.7 kB / 0.8864 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.5686, allocations: 480.5 kB / 0.8869 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.256e-05/0.5687, allocations: 142.8 kB / 0.887 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.5688, allocations: 126.3 kB / 0.8871 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.5689, allocations: 330 kB / 0.8875 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.5691, allocations: 177.2 kB / 0.8876 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004511/0.5696, allocations: 0.7403 MB / 0.8883 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005563/0.5701, allocations: 0.5465 MB / 0.8889 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.5701, allocations: 4 kB / 0.8889 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008049/0.5709, allocations: 0.6605 MB / 0.8895 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.571, allocations: 8 kB / 0.8895 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.571, allocations: 12.03 kB / 0.8896 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.571, allocations: 8 kB / 0.8896 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.5713, allocations: 119.8 kB / 0.8897 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.5713, allocations: 19.86 kB / 0.8897 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.5717, allocations: 83.42 kB / 0.8898 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.794e-05/0.5717, allocations: 35.98 kB / 0.8898 GB, free: 11.04 MB / 0.6667 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.0002985/0.572, allocations: 266.7 kB / 0.8901 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.5721, allocations: 103.3 kB / 0.8902 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.5734, allocations: 1.129 MB / 0.8913 GB, free: 9.527 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.5734, allocations: 15.98 kB / 0.8913 GB, free: 9.512 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.5734, allocations: 3.938 kB / 0.8913 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.5734, allocations: 7.984 kB / 0.8913 GB, free: 9.5 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.5758, allocations: 1.913 MB / 0.8932 GB, free: 7.496 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.5758, allocations: 4 kB / 0.8932 GB, free: 7.492 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.5759, allocations: 87.89 kB / 0.8932 GB, free: 7.406 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.5759, allocations: 4 kB / 0.8932 GB, free: 7.402 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.576, allocations: 19.98 kB / 0.8933 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/0.576, allocations: 11.94 kB / 0.8933 GB, free: 7.371 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.576, allocations: 4 kB / 0.8933 GB, free: 7.367 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000956/0.577, allocations: 1.032 MB / 0.8943 GB, free: 6.281 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/0.5773, allocations: 203 kB / 0.8945 GB, free: 6.082 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.908e-05/0.5773, allocations: 16 kB / 0.8945 GB, free: 6.066 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.5775, allocations: 31.97 kB / 0.8945 GB, free: 6.035 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.421e-05/0.5776, allocations: 64.28 kB / 0.8946 GB, free: 5.973 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/0.5777, allocations: 39.97 kB / 0.8946 GB, free: 5.934 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005778/0.5783, allocations: 0.5784 MB / 0.8952 GB, free: 5.344 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5783, allocations: 0 / 0.8952 GB, free: 5.344 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001042/0.5793, allocations: 383 kB / 0.8956 GB, free: 4.969 MB / 0.6667 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.003009/0.5823, allocations: 2.312 MB / 0.8978 GB, free: 2.848 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008894/0.5832, allocations: 0.5882 MB / 0.8984 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5832, allocations: 0 / 0.8984 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004236/0.5836, allocations: 368.2 kB / 0.8987 GB, free: 1.906 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.5852, allocations: 414.7 kB / 0.8991 GB, free: 1.523 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00778/0.593, allocations: 6.864 MB / 0.9058 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/0.5935, allocations: 468 kB / 0.9063 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005248/0.594, allocations: 187.1 kB / 0.9065 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003516/0.5944, allocations: 399.2 kB / 0.9068 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of SimCode: time 1.062e-06/0.5944, allocations: 0 / 0.9068 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05098/0.6454, allocations: 31.85 MB / 0.938 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.366/8.011, allocations: 8.203 kB / 0.938 GB, free: 9.754 MB / 0.7136 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 IDEAS_IDEAS_Fluid_Taps_Examples_TapProfile.fmu > IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.027724146842957] Failed to read output from testmodel.py, exit status != 0: 8.148140621837229 8.156076484 7.598865383 Calling exit ...