Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.0008816/0.0008816, allocations: 101.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.0009703/0.0009703, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9456/0.9456, allocations: 230.6 MB / 256 MB, free: 9.582 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.7938/0.7938, allocations: 203.8 MB / 0.5042 GB, free: 10.38 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.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.0009311/0.0009311, allocations: 66.45 kB / 0.7181 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4837/0.4847, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1393/0.624, allocations: 150.9 MB / 0.9651 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005093/0.6291, allocations: 4.024 MB / 0.9691 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008167/0.6299, allocations: 27.81 kB / 0.9691 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0008809/0.6308, allocations: 334 kB / 0.9694 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.6328, allocations: 1.042 MB / 0.9704 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.6343, allocations: 0.8266 MB / 0.9712 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001358/0.6357, allocations: 1.302 MB / 0.9725 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005002/0.6362, allocations: 382.2 kB / 0.9729 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.6373, allocations: 0.7512 MB / 0.9736 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008665/0.6381, allocations: 457.6 kB / 0.974 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.336e-05/0.6382, allocations: 52 kB / 0.9741 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.6392, allocations: 0.7482 MB / 0.9748 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.6394, allocations: 215.3 kB / 0.975 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003623/0.6398, allocations: 278.8 kB / 0.9753 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.6411, allocations: 1.125 MB / 0.9764 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6411, allocations: 0 / 0.9764 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6411, allocations: 0 / 0.9764 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.6411, allocations: 0 / 0.9764 GB, free: 2.773 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001275/0.6424, allocations: 0.8896 MB / 0.9773 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.6424, allocations: 8.031 kB / 0.9773 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.163e-05/0.6425, allocations: 86.53 kB / 0.9774 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009036/0.6434, allocations: 267.3 kB / 0.9776 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006146/0.644, allocations: 446.5 kB / 0.978 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.6441, allocations: 33 kB / 0.9781 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.6441, allocations: 40 kB / 0.9781 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000872/0.645, allocations: 0.8907 MB / 0.979 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.645, allocations: 0 / 0.979 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.645, allocations: 20 kB / 0.979 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.645, allocations: 17 kB / 0.979 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007756/0.6458, allocations: 0.5464 MB / 0.9795 GB, free: 15.39 MB / 0.7605 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.002362/0.6482, allocations: 1.884 MB / 0.9814 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005083/0.6487, allocations: 274.3 kB / 0.9816 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.649, allocations: 164.7 kB / 0.9818 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.649, allocations: 7.984 kB / 0.9818 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.649, allocations: 42.56 kB / 0.9819 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=11): time 2.735e-06/0.649, allocations: 0 / 0.9819 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of matching and sorting (n=11): time 0.002603/0.6516, allocations: 1.014 MB / 0.9828 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.6517, allocations: 85.05 kB / 0.9829 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004514/0.6521, allocations: 0.565 MB / 0.9835 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.6521, allocations: 29.7 kB / 0.9835 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.6523, allocations: 304.1 kB / 0.9838 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.6524, allocations: 43.64 kB / 0.9838 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-05/0.6524, allocations: 73.58 kB / 0.9839 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.9e-05/0.6525, allocations: 350.8 kB / 0.9842 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.6528, allocations: 187.8 kB / 0.9844 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.6532, allocations: 288.7 kB / 0.9847 GB, free: 9.918 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000573/0.6537, allocations: 409.2 kB / 0.9851 GB, free: 9.488 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.6537, allocations: 0 / 0.9851 GB, free: 9.488 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001402/0.6551, allocations: 0.7309 MB / 0.9858 GB, free: 8.75 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.6552, allocations: 8 kB / 0.9858 GB, free: 8.742 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.6552, allocations: 0 / 0.9858 GB, free: 8.742 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000389/0.6556, allocations: 184.8 kB / 0.986 GB, free: 8.559 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.6557, allocations: 67.89 kB / 0.986 GB, free: 8.492 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/0.658, allocations: 2.114 MB / 0.9881 GB, free: 6.262 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.6583, allocations: 79.64 kB / 0.9882 GB, free: 6.184 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.6583, allocations: 8 kB / 0.9882 GB, free: 6.176 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002229/0.6586, allocations: 193.7 kB / 0.9884 GB, free: 5.977 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.757e-05/0.6586, allocations: 51.7 kB / 0.9884 GB, free: 5.926 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.353e-05/0.6587, allocations: 51.98 kB / 0.9885 GB, free: 5.875 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.6587, allocations: 4 kB / 0.9885 GB, free: 5.871 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.6587, allocations: 0 / 0.9885 GB, free: 5.871 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6587, allocations: 3.984 kB / 0.9885 GB, free: 5.867 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.6605, allocations: 1.046 MB / 0.9895 GB, free: 4.762 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6605, allocations: 0 / 0.9895 GB, free: 4.762 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.6606, allocations: 35.95 kB / 0.9895 GB, free: 4.727 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000295/0.6609, allocations: 188.7 kB / 0.9897 GB, free: 4.539 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.6609, allocations: 4 kB / 0.9897 GB, free: 4.535 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.6629, allocations: 2.053 MB / 0.9917 GB, free: 2.367 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6629, allocations: 4.031 kB / 0.9917 GB, free: 2.363 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.6642, allocations: 0.7043 MB / 0.9924 GB, free: 1.633 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.6644, allocations: 103.6 kB / 0.9925 GB, free: 1.531 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.6644, allocations: 3.938 kB / 0.9925 GB, free: 1.527 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.6647, allocations: 51.89 kB / 0.9926 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.6648, allocations: 15.91 kB / 0.9926 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.773e-05/0.6648, allocations: 15.98 kB / 0.9926 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000344/0.6651, allocations: 398.8 kB / 0.993 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.6651, allocations: 0 / 0.993 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005011/0.6656, allocations: 179.8 kB / 0.9932 GB, free: 0.8828 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00158/0.6672, allocations: 1.297 MB / 0.9944 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0009139/0.6681, allocations: 0.5229 MB / 0.9949 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.6681, allocations: 0 / 0.9949 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003686/0.6685, allocations: 291 kB / 0.9952 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008318/0.6693, allocations: 309.1 kB / 0.9955 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006808/0.6761, allocations: 5.067 MB / 1 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.6763, allocations: 268 kB / 1.001 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003682/0.6767, allocations: 108.5 kB / 1.001 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.6769, allocations: 167.4 kB / 1.001 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of SimCode: time 1.272e-06/0.6769, allocations: 3.938 kB / 1.001 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03467/0.7115, allocations: 18.29 MB / 1.019 GB, free: 6.719 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.713, allocations: 9.828 kB / 1.019 GB, free: 6.711 MB / 0.7917 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.702796789817512] Failed to read output from testmodel.py, exit status != 0: 8.809788489714265 8.82080773 8.177554111 Calling exit ...