Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001214/0.001214, 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.0009858/0.0009858, allocations: 169.9 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.9022/0.9022, allocations: 177.1 MB / 202.8 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7138/0.7138, allocations: 154.6 MB / 413.7 MB, free: 0.7773 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS_Fluid_Taps_Examples_DHW_example",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.618 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.801e-05, allocations: 4.578 kB / 0.618 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.02834/0.02837, allocations: 38.47 MB / 0.6556 GB, free: 7.082 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01203/0.0404, allocations: 10.43 MB / 0.6658 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.04221, allocations: 67.44 kB / 0.6659 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.04374, allocations: 0.5585 MB / 0.6664 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003666/0.04741, allocations: 1.538 MB / 0.6679 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.05002, allocations: 1.384 MB / 0.6693 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003226/0.05324, allocations: 2.73 MB / 0.6719 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.0546, allocations: 0.8311 MB / 0.6727 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002886/0.05749, allocations: 1.609 MB / 0.6743 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008642/0.05836, allocations: 0.6814 MB / 0.675 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.05848, allocations: 112 kB / 0.6751 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.05997, allocations: 0.6783 MB / 0.6757 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.06017, allocations: 286.8 kB / 0.676 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003596/0.06053, allocations: 427 kB / 0.6764 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.2795/0.3401, allocations: 1.935 MB / 0.6783 GB, free: 49.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3401, allocations: 2.625 kB / 0.6783 GB, free: 49.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3401, allocations: 0 / 0.6783 GB, free: 49.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.16e-05/0.3401, allocations: 3.281 kB / 0.6783 GB, free: 49.82 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.001902/0.342, allocations: 1.483 MB / 0.6798 GB, free: 49.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3421, allocations: 10.47 kB / 0.6798 GB, free: 49.18 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.477e-05/0.3422, allocations: 130.4 kB / 0.6799 GB, free: 49.14 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009033/0.3431, allocations: 325.8 kB / 0.6802 GB, free: 49.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.3442, allocations: 0.8976 MB / 0.6811 GB, free: 48.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.3443, allocations: 60.47 kB / 0.6811 GB, free: 48.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.028e-05/0.3444, allocations: 78.91 kB / 0.6812 GB, free: 48.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.3457, allocations: 1.14 MB / 0.6823 GB, free: 48.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.3457, allocations: 5.188 kB / 0.6823 GB, free: 48.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.473e-05/0.3457, allocations: 33.34 kB / 0.6824 GB, free: 48.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.3458, allocations: 19.88 kB / 0.6824 GB, free: 48.45 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.347, allocations: 0.8212 MB / 0.6832 GB, free: 48.45 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.003131/0.3501, allocations: 3.364 MB / 0.6865 GB, free: 46.87 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009421/0.351, allocations: 0.5896 MB / 0.6871 GB, free: 46.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004212/0.3515, allocations: 289.6 kB / 0.6873 GB, free: 46.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003416/0.3518, allocations: 116.9 kB / 0.6874 GB, free: 46.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006019/0.3524, allocations: 0.5259 MB / 0.688 GB, free: 46.65 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 2.665e-06/0.3524, allocations: 0 / 0.688 GB, free: 46.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.001683/0.3541, allocations: 0.9734 MB / 0.6889 GB, free: 46.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.3542, allocations: 111.9 kB / 0.689 GB, free: 46.42 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007768/0.3549, allocations: 0.9008 MB / 0.6899 GB, free: 46.26 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.68e-05/0.355, allocations: 38.05 kB / 0.6899 GB, free: 46.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.3552, allocations: 496.8 kB / 0.6904 GB, free: 46.03 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.758e-05/0.3553, allocations: 166.6 kB / 0.6906 GB, free: 45.92 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.3554, allocations: 130.2 kB / 0.6907 GB, free: 45.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.7e-05/0.3555, allocations: 336.1 kB / 0.691 GB, free: 45.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004601/0.3559, allocations: 329.5 kB / 0.6913 GB, free: 45.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005309/0.3565, allocations: 0.6285 MB / 0.6919 GB, free: 45.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009412/0.3574, allocations: 0.7866 MB / 0.6927 GB, free: 44.94 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3574, allocations: 2.875 kB / 0.6927 GB, free: 44.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001306/0.3587, allocations: 0.9601 MB / 0.6936 GB, free: 44.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.3588, allocations: 37.16 kB / 0.6937 GB, free: 44.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.3588, allocations: 10.09 kB / 0.6937 GB, free: 44.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.3588, allocations: 8.844 kB / 0.6937 GB, free: 44.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005343/0.3593, allocations: 197.3 kB / 0.6939 GB, free: 44.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.3593, allocations: 12.09 kB / 0.6939 GB, free: 44.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/0.3598, allocations: 134.2 kB / 0.694 GB, free: 44.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.167e-05/0.3599, allocations: 30.5 kB / 0.694 GB, free: 44.68 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.0003282/0.3602, allocations: 278.1 kB / 0.6943 GB, free: 44.56 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.3603, allocations: 101.8 kB / 0.6944 GB, free: 44.51 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.3618, allocations: 1.102 MB / 0.6955 GB, free: 44.42 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.3618, allocations: 8.125 kB / 0.6955 GB, free: 44.42 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3618, allocations: 0 / 0.6955 GB, free: 44.42 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3618, allocations: 3.141 kB / 0.6955 GB, free: 44.42 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.364, allocations: 1.93 MB / 0.6974 GB, free: 44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.3641, allocations: 0 / 0.6974 GB, free: 44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000452/0.3645, allocations: 156.5 kB / 0.6975 GB, free: 44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.3645, allocations: 6.812 kB / 0.6975 GB, free: 44 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.3645, allocations: 19.78 kB / 0.6976 GB, free: 44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-06/0.3645, allocations: 10.28 kB / 0.6976 GB, free: 43.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3646, allocations: 0 / 0.6976 GB, free: 43.99 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.3664, allocations: 1.487 MB / 0.699 GB, free: 43.69 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000352/0.3667, allocations: 198.2 kB / 0.6992 GB, free: 43.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.868e-05/0.3668, allocations: 28.42 kB / 0.6992 GB, free: 43.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/0.3672, allocations: 68.84 kB / 0.6993 GB, free: 43.61 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.291e-05/0.3673, allocations: 45.25 kB / 0.6993 GB, free: 43.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.3673, allocations: 27.59 kB / 0.6994 GB, free: 43.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005652/0.3679, allocations: 0.632 MB / 0.7 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3679, allocations: 0 / 0.7 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008655/0.3688, allocations: 379.3 kB / 0.7004 GB, free: 43.45 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.003026/0.3718, allocations: 2.68 MB / 0.703 GB, free: 42.51 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001331/0.3731, allocations: 0.8158 MB / 0.7038 GB, free: 42.39 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.3731, allocations: 2.875 kB / 0.7038 GB, free: 42.39 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005741/0.3737, allocations: 386.8 kB / 0.7041 GB, free: 42.39 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.3752, allocations: 479.1 kB / 0.7046 GB, free: 42.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.3876, allocations: 8.459 MB / 0.7129 GB, free: 39.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.388, allocations: 456.9 kB / 0.7133 GB, free: 39.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007724/0.3888, allocations: 228 kB / 0.7135 GB, free: 39.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004354/0.3892, allocations: 414.8 kB / 0.7139 GB, free: 39.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.383e-06/0.3892, allocations: 0 / 0.7139 GB, free: 39.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05668/0.4459, allocations: 33.36 MB / 0.7465 GB, free: 32.07 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.288, allocations: 1.75 kB / 0.7465 GB, free: 32.07 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Taps_Examples_DHW_example.fmu > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.129327754490077] Failed to read output from testmodel.py, exit status != 0: 8.407970982603729 8.419853868 8.077336955 Calling exit ...