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.0007837/0.0007837, 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.0008105/0.0008105, 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.8801/0.8801, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7073/0.7073, allocations: 154.6 MB / 413.7 MB, free: 0.8203 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.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: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 3.938 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.355e-05, allocations: 2.281 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4013/0.4013, allocations: 150.8 MB / 0.7653 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003828/0.4052, allocations: 4.033 MB / 0.7692 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003013/0.4055, allocations: 30.47 kB / 0.7693 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007009/0.4062, allocations: 330.4 kB / 0.7696 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.4076, allocations: 1.075 MB / 0.7706 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.4089, allocations: 0.8446 MB / 0.7715 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009715/0.4098, allocations: 1.333 MB / 0.7728 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003881/0.4102, allocations: 372.9 kB / 0.7731 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009476/0.4112, allocations: 0.8958 MB / 0.774 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007307/0.4119, allocations: 416.7 kB / 0.7744 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.311e-05/0.412, allocations: 55.97 kB / 0.7744 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000871/0.4128, allocations: 0.7651 MB / 0.7752 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.413, allocations: 224 kB / 0.7754 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.4132, allocations: 235.4 kB / 0.7756 GB, free: 480 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.4143, allocations: 1.177 MB / 0.7768 GB, free: 72 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4143, allocations: 1.125 kB / 0.7768 GB, free: 72 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.754e-06/0.4143, allocations: 0 / 0.7768 GB, free: 72 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.4143, allocations: 4 kB / 0.7768 GB, free: 68 kB / 0.6355 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.001129/0.4154, allocations: 0.8905 MB / 0.7776 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.4154, allocations: 11.38 kB / 0.7777 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.838e-05/0.4155, allocations: 85.44 kB / 0.7777 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008157/0.4163, allocations: 260.2 kB / 0.778 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.4169, allocations: 442.3 kB / 0.7784 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.4169, allocations: 30.38 kB / 0.7784 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.916e-05/0.417, allocations: 42.81 kB / 0.7785 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008576/0.4178, allocations: 0.894 MB / 0.7794 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.4178, allocations: 7.219 kB / 0.7794 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.4179, allocations: 18.22 kB / 0.7794 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.4179, allocations: 17.31 kB / 0.7794 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008129/0.4187, allocations: 0.5478 MB / 0.7799 GB, free: 14.23 MB / 0.6511 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.002242/0.421, allocations: 1.898 MB / 0.7818 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.4215, allocations: 272 kB / 0.782 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.4217, allocations: 168.6 kB / 0.7822 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.4218, allocations: 1.375 kB / 0.7822 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.4218, allocations: 42.72 kB / 0.7822 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.4218, allocations: 0 / 0.7822 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0025/0.4243, allocations: 1.004 MB / 0.7832 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.4243, allocations: 78.48 kB / 0.7833 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004762/0.4248, allocations: 0.5644 MB / 0.7838 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.4248, allocations: 31.95 kB / 0.7839 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.425, allocations: 306.7 kB / 0.7842 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.425, allocations: 47.72 kB / 0.7842 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-05/0.4251, allocations: 57.06 kB / 0.7843 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.4252, allocations: 362 kB / 0.7846 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.4255, allocations: 187.4 kB / 0.7848 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003568/0.4259, allocations: 297.6 kB / 0.7851 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006136/0.4265, allocations: 405.6 kB / 0.7855 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4265, allocations: 4 kB / 0.7855 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001392/0.4279, allocations: 0.7252 MB / 0.7862 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.4279, allocations: 6.875 kB / 0.7862 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.4279, allocations: 2.75 kB / 0.7862 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004001/0.4283, allocations: 188.9 kB / 0.7864 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.4285, allocations: 66.42 kB / 0.7864 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.4307, allocations: 2.096 MB / 0.7885 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.431, allocations: 78.7 kB / 0.7886 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.431, allocations: 14.91 kB / 0.7886 GB, free: 9.406 MB / 0.6511 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.0001636/0.4312, allocations: 193.2 kB / 0.7888 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/0.4313, allocations: 49.73 kB / 0.7888 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.234e-05/0.4313, allocations: 56.47 kB / 0.7889 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4313, allocations: 1.281 kB / 0.7889 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.4313, allocations: 1.281 kB / 0.7889 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.4313, allocations: 7.922 kB / 0.7889 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.4328, allocations: 1.041 MB / 0.7899 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4328, allocations: 1.406 kB / 0.7899 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.4329, allocations: 45.44 kB / 0.7899 GB, free: 8.691 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002659/0.4332, allocations: 172 kB / 0.7901 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.4332, allocations: 9.156 kB / 0.7901 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.435, allocations: 2.058 MB / 0.7921 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.435, allocations: 2.969 kB / 0.7921 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.4361, allocations: 0.704 MB / 0.7928 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.4363, allocations: 84 kB / 0.7929 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.4363, allocations: 9.188 kB / 0.7929 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/0.4366, allocations: 47.42 kB / 0.7929 GB, free: 6.781 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.4366, allocations: 24.14 kB / 0.793 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.4366, allocations: 11 kB / 0.793 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002775/0.4369, allocations: 394.1 kB / 0.7933 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5e-08/0.4369, allocations: 0 / 0.7933 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004366/0.4374, allocations: 186 kB / 0.7935 GB, free: 6.566 MB / 0.6511 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.001626/0.439, allocations: 1.31 MB / 0.7948 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007993/0.4398, allocations: 0.5103 MB / 0.7953 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4398, allocations: 2.438 kB / 0.7953 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003488/0.4401, allocations: 302 kB / 0.7956 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008056/0.4409, allocations: 310.6 kB / 0.7959 GB, free: 5.262 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006017/0.447, allocations: 5.055 MB / 0.8008 GB, free: 2.23 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.4471, allocations: 265.2 kB / 0.8011 GB, free: 2.051 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002672/0.4474, allocations: 103.1 kB / 0.8012 GB, free: 2.008 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.4475, allocations: 163 kB / 0.8013 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of SimCode: time 7.41e-07/0.4476, allocations: 2.625 kB / 0.8013 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/0.4788, allocations: 18.36 MB / 0.8193 GB, free: 5.457 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.422/8.901, allocations: 7.984 kB / 0.8193 GB, free: 5.449 MB / 0.6667 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.639730499126017] Failed to read output from testmodel.py, exit status != 0: 8.998381167650223 9.006269904 8.590221514 Calling exit ...