Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.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.001179/0.001179, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008964/0.0008964, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.897/0.897, allocations: 177.1 MB / 202.8 MB, free: 5.75 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-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.7158/0.7158, allocations: 154.6 MB / 413.8 MB, free: 0.7812 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: "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.639e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.02592/0.02594, allocations: 38.49 MB / 0.6557 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0109/0.03685, allocations: 10.43 MB / 0.6659 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.03795, allocations: 71.44 kB / 0.6659 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.03907, allocations: 0.57 MB / 0.6665 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002602/0.04167, allocations: 1.53 MB / 0.668 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002301/0.04397, allocations: 1.385 MB / 0.6693 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002335/0.0463, allocations: 2.727 MB / 0.672 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009318/0.04724, allocations: 0.8351 MB / 0.6728 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002347/0.04958, allocations: 1.599 MB / 0.6744 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007714/0.05035, allocations: 0.6852 MB / 0.675 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.05047, allocations: 112 kB / 0.6751 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.05158, allocations: 0.6744 MB / 0.6758 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.05178, allocations: 286.8 kB / 0.6761 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002961/0.05207, allocations: 422.9 kB / 0.6765 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.3171/0.3692, allocations: 1.944 MB / 0.6784 GB, free: 49.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3692, allocations: 6.625 kB / 0.6784 GB, free: 49.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3692, allocations: 0 / 0.6784 GB, free: 49.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.464e-05/0.3693, allocations: 4.625 kB / 0.6784 GB, free: 49.91 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002044/0.3713, allocations: 1.475 MB / 0.6798 GB, free: 49.28 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3714, allocations: 9.344 kB / 0.6798 GB, free: 49.28 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.3715, allocations: 129 kB / 0.68 GB, free: 49.24 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008854/0.3723, allocations: 331.9 kB / 0.6803 GB, free: 49.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.3735, allocations: 0.9041 MB / 0.6812 GB, free: 48.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/0.3736, allocations: 63.97 kB / 0.6812 GB, free: 48.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.577e-05/0.3736, allocations: 77.11 kB / 0.6813 GB, free: 48.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.3748, allocations: 1.137 MB / 0.6824 GB, free: 48.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.3748, allocations: 0.5938 kB / 0.6824 GB, free: 48.55 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.112e-05/0.3749, allocations: 31.84 kB / 0.6824 GB, free: 48.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.3749, allocations: 18.91 kB / 0.6825 GB, free: 48.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.3761, allocations: 0.8246 MB / 0.6833 GB, free: 48.55 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/0.3789, allocations: 3.355 MB / 0.6865 GB, free: 46.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000868/0.3798, allocations: 0.582 MB / 0.6871 GB, free: 46.96 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004001/0.3802, allocations: 298.6 kB / 0.6874 GB, free: 46.95 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003032/0.3805, allocations: 116.3 kB / 0.6875 GB, free: 46.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005626/0.381, allocations: 0.5252 MB / 0.688 GB, free: 46.76 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 1.753e-06/0.381, allocations: 0 / 0.688 GB, free: 46.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.001432/0.3825, allocations: 0.9705 MB / 0.689 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.3825, allocations: 108.3 kB / 0.6891 GB, free: 46.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006646/0.3832, allocations: 0.9054 MB / 0.6899 GB, free: 46.37 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.3832, allocations: 39.17 kB / 0.69 GB, free: 46.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.3834, allocations: 498.7 kB / 0.6905 GB, free: 46.14 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.284e-05/0.3835, allocations: 171.9 kB / 0.6906 GB, free: 46.03 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.3836, allocations: 128.5 kB / 0.6907 GB, free: 46.01 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.173e-05/0.3837, allocations: 337.7 kB / 0.6911 GB, free: 45.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004301/0.3841, allocations: 328.3 kB / 0.6914 GB, free: 45.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005035/0.3846, allocations: 0.6278 MB / 0.692 GB, free: 45.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009209/0.3855, allocations: 0.7907 MB / 0.6928 GB, free: 45.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3855, allocations: 2.938 kB / 0.6928 GB, free: 45.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001173/0.3867, allocations: 0.9529 MB / 0.6937 GB, free: 44.88 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.3867, allocations: 37.3 kB / 0.6937 GB, free: 44.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3867, allocations: 6 kB / 0.6937 GB, free: 44.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3868, allocations: 9.125 kB / 0.6937 GB, free: 44.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004936/0.3873, allocations: 201.2 kB / 0.6939 GB, free: 44.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.3873, allocations: 15.64 kB / 0.694 GB, free: 44.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.3877, allocations: 121.9 kB / 0.6941 GB, free: 44.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.597e-05/0.3877, allocations: 37.17 kB / 0.6941 GB, free: 44.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (mDHW60C.count,$PRE.mDHW60C.count,mDHW60C.T_start,$PRE.mDHW60C.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * 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.0002608/0.388, allocations: 276.2 kB / 0.6944 GB, free: 44.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-05/0.3881, allocations: 108.8 kB / 0.6945 GB, free: 44.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.3895, allocations: 1.09 MB / 0.6955 GB, free: 44.53 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.3895, allocations: 12.47 kB / 0.6956 GB, free: 44.53 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3895, allocations: 0 / 0.6956 GB, free: 44.53 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.3895, allocations: 3.281 kB / 0.6956 GB, free: 44.53 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.3915, allocations: 1.921 MB / 0.6974 GB, free: 44.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.3915, allocations: 8.797 kB / 0.6974 GB, free: 44.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/0.3919, allocations: 155.4 kB / 0.6976 GB, free: 44.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.3919, allocations: 6.781 kB / 0.6976 GB, free: 44.11 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.3919, allocations: 18.67 kB / 0.6976 GB, free: 44.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3919, allocations: 2.625 kB / 0.6976 GB, free: 44.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3919, allocations: 2.875 kB / 0.6976 GB, free: 44.11 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.3935, allocations: 1.485 MB / 0.6991 GB, free: 43.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.3937, allocations: 203.6 kB / 0.6993 GB, free: 43.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.105e-05/0.3938, allocations: 21.33 kB / 0.6993 GB, free: 43.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.3942, allocations: 72.27 kB / 0.6994 GB, free: 43.72 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.571e-05/0.3942, allocations: 50.22 kB / 0.6994 GB, free: 43.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.3943, allocations: 28.66 kB / 0.6994 GB, free: 43.72 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004574/0.3947, allocations: 0.6292 MB / 0.7 GB, free: 43.61 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3947, allocations: 2.531 kB / 0.7 GB, free: 43.61 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006714/0.3954, allocations: 374.9 kB / 0.7004 GB, free: 43.56 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (dHW_RealInput.THot.T,dHW_ProfileReader.THot.T) * Number of discrete variables: 3 ($whenCondition1,mDHW60C.T_start,mDHW60C.count) * Number of discrete states: 1 (mDHW60C.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.002635/0.398, allocations: 2.674 MB / 0.703 GB, free: 42.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.3991, allocations: 0.8173 MB / 0.7038 GB, free: 42.51 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3991, allocations: 1.75 kB / 0.7038 GB, free: 42.51 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005019/0.3996, allocations: 393 kB / 0.7042 GB, free: 42.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.4007, allocations: 479.9 kB / 0.7046 GB, free: 42.44 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.4111, allocations: 8.459 MB / 0.7129 GB, free: 39.71 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.4114, allocations: 462.5 kB / 0.7133 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005793/0.412, allocations: 222.7 kB / 0.7136 GB, free: 39.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003545/0.4123, allocations: 409.6 kB / 0.7139 GB, free: 39.52 MB / 0.6355 GB Notification: Performance of SimCode: time 1.383e-06/0.4123, allocations: 1.094 kB / 0.7139 GB, free: 39.52 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04848/0.4608, allocations: 33.37 MB / 0.7465 GB, free: 32.11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.605/8.066, allocations: 3.5 kB / 0.7465 GB, free: 32.11 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example.fmu > IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.937467040494084] Failed to read output from testmodel.py, exit status != 0: 8.179116760380566 8.184698021 7.814014436 Calling exit ...