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.001108/0.001108, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001339/0.001339, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.88/0.88, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7039/0.7039, allocations: 154.5 MB / 413.7 MB, free: 0.8359 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.403e-06/1.403e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072e-05/1.212e-05, allocations: 7.938 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.02685/0.02686, allocations: 38.48 MB / 0.6556 GB, free: 7.137 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01272/0.03959, allocations: 10.42 MB / 0.6658 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/0.04127, allocations: 71.44 kB / 0.6658 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.04255, allocations: 0.5701 MB / 0.6664 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003102/0.04566, allocations: 1.534 MB / 0.6679 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002994/0.04865, allocations: 1.378 MB / 0.6692 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003346/0.052, allocations: 2.733 MB / 0.6719 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.05337, allocations: 0.8349 MB / 0.6727 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002703/0.05607, allocations: 1.607 MB / 0.6743 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007355/0.05681, allocations: 0.6892 MB / 0.675 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.05692, allocations: 108 kB / 0.6751 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.05811, allocations: 0.6705 MB / 0.6757 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.05831, allocations: 286.8 kB / 0.676 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003389/0.05864, allocations: 430.9 kB / 0.6764 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.2848/0.3434, allocations: 1.934 MB / 0.6783 GB, free: 49.79 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.3435, allocations: 0 / 0.6783 GB, free: 49.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3435, allocations: 3.844 kB / 0.6783 GB, free: 49.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.266e-05/0.3435, allocations: 3.281 kB / 0.6783 GB, free: 49.79 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.001952/0.3455, allocations: 1.483 MB / 0.6798 GB, free: 49.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.3455, allocations: 10.72 kB / 0.6798 GB, free: 49.14 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.131e-05/0.3456, allocations: 129.6 kB / 0.6799 GB, free: 49.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008099/0.3464, allocations: 328 kB / 0.6802 GB, free: 49.04 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.3474, allocations: 0.8997 MB / 0.6811 GB, free: 48.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.3475, allocations: 62.69 kB / 0.6811 GB, free: 48.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.407e-05/0.3476, allocations: 75.69 kB / 0.6812 GB, free: 48.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.3487, allocations: 1.142 MB / 0.6823 GB, free: 48.42 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.3487, allocations: 2.219 kB / 0.6823 GB, free: 48.42 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.917e-05/0.3488, allocations: 35.16 kB / 0.6824 GB, free: 48.42 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.3488, allocations: 20.31 kB / 0.6824 GB, free: 48.42 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.3499, allocations: 0.8234 MB / 0.6832 GB, free: 48.41 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.002459/0.3524, allocations: 3.357 MB / 0.6865 GB, free: 46.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008411/0.3532, allocations: 0.5871 MB / 0.687 GB, free: 46.81 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003921/0.3536, allocations: 295.7 kB / 0.6873 GB, free: 46.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002809/0.3539, allocations: 113 kB / 0.6874 GB, free: 46.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000541/0.3544, allocations: 0.5232 MB / 0.6879 GB, free: 46.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 1.633e-06/0.3544, allocations: 4 kB / 0.6879 GB, free: 46.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.001419/0.3558, allocations: 0.9715 MB / 0.6889 GB, free: 46.51 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.3559, allocations: 111.5 kB / 0.689 GB, free: 46.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006254/0.3565, allocations: 0.8994 MB / 0.6899 GB, free: 46.22 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.3565, allocations: 39.52 kB / 0.6899 GB, free: 46.19 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.3567, allocations: 0.4896 MB / 0.6904 GB, free: 45.99 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.49e-05/0.3568, allocations: 166.1 kB / 0.6906 GB, free: 45.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.3569, allocations: 134.9 kB / 0.6907 GB, free: 45.86 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.809e-05/0.357, allocations: 333.9 kB / 0.691 GB, free: 45.55 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004352/0.3574, allocations: 320.2 kB / 0.6913 GB, free: 45.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005197/0.3579, allocations: 0.6376 MB / 0.6919 GB, free: 45.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009198/0.3588, allocations: 0.7913 MB / 0.6927 GB, free: 44.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3588, allocations: 0 / 0.6927 GB, free: 44.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001177/0.36, allocations: 0.9546 MB / 0.6936 GB, free: 44.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.3601, allocations: 37.59 kB / 0.6937 GB, free: 44.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.3601, allocations: 5.844 kB / 0.6937 GB, free: 44.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3601, allocations: 5.906 kB / 0.6937 GB, free: 44.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004768/0.3606, allocations: 205.2 kB / 0.6939 GB, free: 44.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.3606, allocations: 11.78 kB / 0.6939 GB, free: 44.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/0.3609, allocations: 124.1 kB / 0.694 GB, free: 44.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/0.361, allocations: 36.23 kB / 0.694 GB, free: 44.64 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.0002341/0.3612, allocations: 274.8 kB / 0.6943 GB, free: 44.53 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.146e-05/0.3613, allocations: 105.9 kB / 0.6944 GB, free: 44.47 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/0.3627, allocations: 1.096 MB / 0.6955 GB, free: 44.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.3627, allocations: 11 kB / 0.6955 GB, free: 44.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.3627, allocations: 0 / 0.6955 GB, free: 44.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3628, allocations: 7.031 kB / 0.6955 GB, free: 44.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.3647, allocations: 1.926 MB / 0.6974 GB, free: 43.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.3647, allocations: 2.688 kB / 0.6974 GB, free: 43.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003833/0.3651, allocations: 157.6 kB / 0.6975 GB, free: 43.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.3651, allocations: 9.938 kB / 0.6975 GB, free: 43.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.3651, allocations: 15.2 kB / 0.6976 GB, free: 43.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3651, allocations: 5.156 kB / 0.6976 GB, free: 43.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3651, allocations: 4.25 kB / 0.6976 GB, free: 43.96 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.3667, allocations: 1.488 MB / 0.699 GB, free: 43.65 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.3669, allocations: 199.2 kB / 0.6992 GB, free: 43.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.246e-05/0.367, allocations: 24.23 kB / 0.6992 GB, free: 43.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.3673, allocations: 65.55 kB / 0.6993 GB, free: 43.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.231e-05/0.3674, allocations: 52.38 kB / 0.6993 GB, free: 43.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.3674, allocations: 25.56 kB / 0.6994 GB, free: 43.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000454/0.3679, allocations: 0.6342 MB / 0.7 GB, free: 43.46 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.3679, allocations: 3.375 kB / 0.7 GB, free: 43.46 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006477/0.3685, allocations: 375.9 kB / 0.7003 GB, free: 43.41 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.002785/0.3713, allocations: 2.674 MB / 0.703 GB, free: 42.47 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.3724, allocations: 0.811 MB / 0.7037 GB, free: 42.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3724, allocations: 2.688 kB / 0.7037 GB, free: 42.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005215/0.3729, allocations: 394.1 kB / 0.7041 GB, free: 42.35 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.374, allocations: 479.4 kB / 0.7046 GB, free: 42.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.3847, allocations: 8.464 MB / 0.7128 GB, free: 39.56 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.3851, allocations: 462.6 kB / 0.7133 GB, free: 39.44 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006061/0.3857, allocations: 226.8 kB / 0.7135 GB, free: 39.37 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003716/0.3861, allocations: 414.3 kB / 0.7139 GB, free: 39.36 MB / 0.6355 GB Notification: Performance of SimCode: time 7.82e-07/0.3861, allocations: 1.094 kB / 0.7139 GB, free: 39.36 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04525/0.4313, allocations: 33.36 MB / 0.7465 GB, free: 32.12 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.197/8.628, allocations: 0 / 0.7465 GB, free: 32.12 MB / 0.6355 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=50 --tolerance=1e-06 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.344560791738331] Failed to read output from testmodel.py, exit status != 0: 8.745055469684303 8.754749622 8.409113125 Calling exit ...