Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.0009994/0.0009994, allocations: 109.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.001239/0.001239, allocations: 216 kB / 22.25 MB, free: 3.73 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.9432/0.9432, allocations: 230.6 MB / 256 MB, free: 9.629 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.7869/0.7869, allocations: 203.8 MB / 0.5042 GB, free: 10.5 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.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.0008986/0.0008986, allocations: 62.81 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5111/0.512, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1527/0.6647, allocations: 168.6 MB / 0.9824 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.006715/0.6714, allocations: 5.442 MB / 0.9877 GB, free: 7.09 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00062/0.672, allocations: 59.5 kB / 0.9878 GB, free: 7.031 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.6732, allocations: 0.5513 MB / 0.9883 GB, free: 6.477 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002878/0.6761, allocations: 1.933 MB / 0.9902 GB, free: 4.535 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.6782, allocations: 1.219 MB / 0.9914 GB, free: 3.324 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002435/0.6807, allocations: 3.002 MB / 0.9943 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008938/0.6816, allocations: 0.7395 MB / 0.9951 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.6832, allocations: 1.327 MB / 0.9964 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.6845, allocations: 0.9213 MB / 0.9973 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0003004/0.6848, allocations: 108 kB / 0.9974 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.6864, allocations: 1.18 MB / 0.9985 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003074/0.6867, allocations: 470.6 kB / 0.999 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000397/0.6871, allocations: 0.5524 MB / 0.9995 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.6888, allocations: 2.114 MB / 1.002 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.6888, allocations: 4 kB / 1.002 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.704e-06/0.6888, allocations: 3.938 kB / 1.002 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.449e-05/0.6889, allocations: 0 / 1.002 GB, free: 8.879 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.001583/0.6904, allocations: 1.469 MB / 1.003 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.6905, allocations: 12.03 kB / 1.003 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001168/0.6906, allocations: 139.2 kB / 1.003 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.6917, allocations: 326.9 kB / 1.003 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009056/0.6926, allocations: 0.7722 MB / 1.004 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.6926, allocations: 62 kB / 1.004 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.434e-05/0.6927, allocations: 87.98 kB / 1.004 GB, free: 5.953 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.6939, allocations: 1.375 MB / 1.006 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.6939, allocations: 0 / 1.006 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.579e-05/0.6939, allocations: 36 kB / 1.006 GB, free: 4.426 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-05/0.694, allocations: 34 kB / 1.006 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000919/0.6949, allocations: 0.8198 MB / 1.007 GB, free: 3.574 MB / 0.7761 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.002959/0.6978, allocations: 2.543 MB / 1.009 GB, free: 0.9688 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/0.6984, allocations: 476.4 kB / 1.01 GB, free: 0.4961 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.6986, allocations: 275 kB / 1.01 GB, free: 232 kB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.6987, allocations: 24.42 kB / 1.01 GB, free: 208 kB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.6987, allocations: 42.94 kB / 1.01 GB, free: 156 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=47): time 1.784e-06/0.6988, allocations: 0 / 1.01 GB, free: 156 kB / 0.7761 GB Notification: Performance of matching and sorting (n=49): time 0.002427/0.7012, allocations: 1.714 MB / 1.012 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.7012, allocations: 55.84 kB / 1.012 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006216/0.7018, allocations: 0.8174 MB / 1.012 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.7019, allocations: 37.7 kB / 1.012 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.7021, allocations: 476.3 kB / 1.013 GB, free: 12.99 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.7022, allocations: 186.4 kB / 1.013 GB, free: 12.81 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.7023, allocations: 110.3 kB / 1.013 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.214e-05/0.7024, allocations: 337.9 kB / 1.013 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.7027, allocations: 245.2 kB / 1.014 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.703, allocations: 404.5 kB / 1.014 GB, free: 11.68 MB / 0.7917 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/0.7051, allocations: 1.453 MB / 1.015 GB, free: 10.19 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.7051, allocations: 4 kB / 1.015 GB, free: 10.19 MB / 0.7917 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008499/0.7059, allocations: 0.7912 MB / 1.016 GB, free: 9.383 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.706, allocations: 7.938 kB / 1.016 GB, free: 9.375 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.706, allocations: 4 kB / 1.016 GB, free: 9.371 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002034/0.7062, allocations: 89.66 kB / 1.016 GB, free: 9.277 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/0.7065, allocations: 148.1 kB / 1.017 GB, free: 9.133 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.7086, allocations: 3.086 MB / 1.02 GB, free: 5.812 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.7089, allocations: 27.92 kB / 1.02 GB, free: 5.785 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.331e-05/0.7089, allocations: 20 kB / 1.02 GB, free: 5.766 MB / 0.7917 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002769/0.7092, allocations: 307.6 kB / 1.02 GB, free: 5.457 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.763e-05/0.7093, allocations: 91.44 kB / 1.02 GB, free: 5.367 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.591e-05/0.7094, allocations: 108.7 kB / 1.02 GB, free: 5.258 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.7094, allocations: 16.05 kB / 1.02 GB, free: 5.242 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.7094, allocations: 0 / 1.02 GB, free: 5.242 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006387/0.71, allocations: 0.8348 MB / 1.021 GB, free: 4.316 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.7117, allocations: 1.63 MB / 1.022 GB, free: 2.59 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.7117, allocations: 4 kB / 1.022 GB, free: 2.586 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.712, allocations: 127.8 kB / 1.023 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001251/0.7121, allocations: 69.22 kB / 1.023 GB, free: 2.391 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.7121, allocations: 12 kB / 1.023 GB, free: 2.379 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009726/0.7131, allocations: 1.679 MB / 1.024 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7131, allocations: 4 kB / 1.024 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.7144, allocations: 1.071 MB / 1.025 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002256/0.7147, allocations: 171.3 kB / 1.026 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-05/0.7147, allocations: 8 kB / 1.026 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.715, allocations: 29.53 kB / 1.026 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/0.7151, allocations: 51.8 kB / 1.026 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.7152, allocations: 27.98 kB / 1.026 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004537/0.7156, allocations: 0.5615 MB / 1.026 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.7156, allocations: 4.062 kB / 1.026 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005325/0.7162, allocations: 287.9 kB / 1.026 GB, free: 14.33 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (45): * Single equations (assignments): 44 * 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.001316/0.7175, allocations: 1.692 MB / 1.028 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0008358/0.7183, allocations: 0.7768 MB / 1.029 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7183, allocations: 4.062 kB / 1.029 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.7187, allocations: 406.3 kB / 1.029 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.7201, allocations: 0.6172 MB / 1.03 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006535/0.7267, allocations: 6.986 MB / 1.037 GB, free: 3.496 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.727, allocations: 0.4967 MB / 1.037 GB, free: 2.965 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0005197/0.7276, allocations: 219.7 kB / 1.037 GB, free: 2.746 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003033/0.7279, allocations: 339.3 kB / 1.038 GB, free: 2.414 MB / 0.8073 GB Notification: Performance of SimCode: time 1.032e-06/0.7279, allocations: 0 / 1.038 GB, free: 2.414 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03877/0.7666, allocations: 30.77 MB / 1.068 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.249/9.016, allocations: 6.562 kB / 1.068 GB, free: 4.18 MB / 0.8386 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.065842453856021] Failed to read output from testmodel.py, exit status != 0: 9.11872294312343 9.13180723 8.440513047 Calling exit ...