Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.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.0007406/0.0007406, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.0008331/0.0008331, allocations: 217.2 kB / 22.25 MB, free: 3.57 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.9117/0.9117, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.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.7593/0.7593, allocations: 203.8 MB / 0.5042 GB, free: 10.42 MB / 410.7 MB " [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.Tap,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_Tap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.Tap,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_Tap",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.0009543/0.0009543, allocations: 64.84 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4627/0.4636, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.03323/0.4969, allocations: 40.22 MB / 0.8571 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.007337/0.5042, allocations: 6.846 MB / 0.8637 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006555/0.5049, allocations: 57.97 kB / 0.8638 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0009767/0.5058, allocations: 0.4974 MB / 0.8643 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.508, allocations: 1.469 MB / 0.8657 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.5095, allocations: 1.117 MB / 0.8668 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001748/0.5113, allocations: 2.56 MB / 0.8693 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006523/0.5119, allocations: 0.6913 MB / 0.87 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.5139, allocations: 1.472 MB / 0.8714 GB, free: 10 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005461/0.5144, allocations: 0.6719 MB / 0.8721 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 8.645e-05/0.5145, allocations: 81.44 kB / 0.8722 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009412/0.5155, allocations: 0.6466 MB / 0.8728 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.5156, allocations: 236.9 kB / 0.873 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003223/0.516, allocations: 421.1 kB / 0.8734 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.5173, allocations: 1.536 MB / 0.8749 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5173, allocations: 1.156 kB / 0.8749 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5173, allocations: 0 / 0.8749 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.5173, allocations: 0 / 0.8749 GB, free: 7.855 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001438/0.5188, allocations: 1.308 MB / 0.8762 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.5188, allocations: 9.656 kB / 0.8762 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.764e-05/0.5189, allocations: 121.7 kB / 0.8763 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.5191, allocations: 121.5 kB / 0.8764 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008447/0.5199, allocations: 0.6813 MB / 0.8771 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.143e-05/0.5199, allocations: 60.41 kB / 0.8772 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-05/0.52, allocations: 72.3 kB / 0.8772 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.5211, allocations: 0.934 MB / 0.8781 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.5211, allocations: 9.094 kB / 0.8781 GB, free: 5.367 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.5212, allocations: 28.78 kB / 0.8782 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.5212, allocations: 16.47 kB / 0.8782 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008448/0.522, allocations: 0.5911 MB / 0.8788 GB, free: 5.062 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/0.5246, allocations: 3.208 MB / 0.8819 GB, free: 2.305 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006669/0.5252, allocations: 360.1 kB / 0.8822 GB, free: 2.125 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.5256, allocations: 216.3 kB / 0.8824 GB, free: 2.02 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002466/0.5258, allocations: 119.7 kB / 0.8826 GB, free: 1.969 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004708/0.5263, allocations: 402.5 kB / 0.8829 GB, free: 1.656 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=39): time 2.044e-06/0.5263, allocations: 0 / 0.8829 GB, free: 1.656 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.001109/0.5274, allocations: 0.7033 MB / 0.8836 GB, free: 1.309 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.5274, allocations: 60.62 kB / 0.8837 GB, free: 1.242 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006096/0.528, allocations: 0.7283 MB / 0.8844 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.5281, allocations: 42.03 kB / 0.8844 GB, free: 0.7773 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.5283, allocations: 465.4 kB / 0.8849 GB, free: 376 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.288e-05/0.5284, allocations: 134.9 kB / 0.885 GB, free: 240 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.5285, allocations: 138.2 kB / 0.8851 GB, free: 96 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.02e-05/0.5286, allocations: 326 kB / 0.8855 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.5289, allocations: 272.5 kB / 0.8857 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.5295, allocations: 0.7739 MB / 0.8865 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006692/0.5301, allocations: 0.6547 MB / 0.8871 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5301, allocations: 4 kB / 0.8871 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009064/0.531, allocations: 0.8364 MB / 0.8879 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.774e-05/0.5311, allocations: 63.41 kB / 0.888 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.5311, allocations: 11.98 kB / 0.888 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.5311, allocations: 8 kB / 0.888 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.5314, allocations: 140.4 kB / 0.8881 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.5314, allocations: 8 kB / 0.8882 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.5317, allocations: 99.45 kB / 0.8882 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/0.5317, allocations: 47.92 kB / 0.8883 GB, free: 12.55 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 13 (m_flow_set2.count,$PRE.m_flow_set2.count,m_flow_set2.T_start,$PRE.m_flow_set2.T_start,tap2.DHWCom,tap1.DHWCom,m_flow_set1.count,$PRE.m_flow_set1.count,m_flow_set1.T_start,$PRE.m_flow_set1.T_start,$whenCondition1,$whenCondition2,DHWDisCom1_Kh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.0002141/0.5319, allocations: 249.6 kB / 0.8885 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.428e-05/0.532, allocations: 91.42 kB / 0.8886 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.5334, allocations: 1.139 MB / 0.8897 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.5335, allocations: 15.92 kB / 0.8897 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.872e-06/0.5335, allocations: 0 / 0.8897 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.5335, allocations: 3.984 kB / 0.8898 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.5352, allocations: 1.842 MB / 0.8916 GB, free: 9.109 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.5352, allocations: 4 kB / 0.8916 GB, free: 9.105 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.5354, allocations: 112.2 kB / 0.8917 GB, free: 8.996 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.5354, allocations: 4 kB / 0.8917 GB, free: 8.992 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.5354, allocations: 19.98 kB / 0.8917 GB, free: 8.973 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.5355, allocations: 8 kB / 0.8917 GB, free: 8.965 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5355, allocations: 7.938 kB / 0.8917 GB, free: 8.957 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.5369, allocations: 1.443 MB / 0.8931 GB, free: 7.461 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.5371, allocations: 187 kB / 0.8933 GB, free: 7.277 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.38e-05/0.5372, allocations: 20 kB / 0.8933 GB, free: 7.258 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.5374, allocations: 56 kB / 0.8934 GB, free: 7.203 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.5375, allocations: 76.25 kB / 0.8934 GB, free: 7.129 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/0.5376, allocations: 31.98 kB / 0.8935 GB, free: 7.098 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003926/0.538, allocations: 499 kB / 0.8939 GB, free: 6.613 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9e-08/0.538, allocations: 0 / 0.8939 GB, free: 6.613 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006795/0.5387, allocations: 343.1 kB / 0.8943 GB, free: 6.277 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (DHWDisCom1_Kh.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,m_flow_set1.T_start,m_flow_set1.count,tap1.DHWCom,tap2.DHWCom,m_flow_set2.T_start,m_flow_set2.count) * Number of discrete states: 2 (m_flow_set2.count,m_flow_set1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 47 * 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.00222/0.5409, allocations: 2.285 MB / 0.8965 GB, free: 3.93 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0009229/0.5418, allocations: 0.8136 MB / 0.8973 GB, free: 3.078 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5418, allocations: 4 kB / 0.8973 GB, free: 3.074 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005273/0.5423, allocations: 434.6 kB / 0.8977 GB, free: 2.652 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009432/0.5433, allocations: 366.7 kB / 0.8981 GB, free: 2.309 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005983/0.5493, allocations: 6.851 MB / 0.9048 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.5495, allocations: 437.7 kB / 0.9052 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003068/0.5498, allocations: 162.5 kB / 0.9053 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/0.5501, allocations: 359.2 kB / 0.9057 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of SimCode: time 7.12e-07/0.5501, allocations: 0 / 0.9057 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03949/0.5896, allocations: 29.07 MB / 0.9341 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.264/7.854, allocations: 9.047 kB / 0.9341 GB, free: 13.43 MB / 0.7136 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Taps_Examples_Tap_fmu --startTime=0 --stopTime=259200 --stepSize=103.68 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Taps_Examples_Tap.fmu > IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.6615901151672] Failed to read output from testmodel.py, exit status != 0: 7.94489426817745 7.953946836 7.434690729 Calling exit ...