Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.0008199/0.0008199, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008882/0.0008882, allocations: 213.9 kB / 22.25 MB, free: 3.578 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.9175/0.9175, allocations: 230.6 MB / 256 MB, free: 9.586 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.7705/0.7705, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.001314/0.001314, allocations: 65.58 kB / 0.7182 GB, free: 4 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.472/0.4734, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1552/0.6286, allocations: 168.5 MB / 0.9823 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.007913/0.6365, allocations: 5.421 MB / 0.9876 GB, free: 7.191 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.6378, allocations: 59.5 kB / 0.9877 GB, free: 7.133 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.639, allocations: 0.5397 MB / 0.9882 GB, free: 6.59 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.6424, allocations: 1.68 MB / 0.9899 GB, free: 4.906 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002391/0.6448, allocations: 1.249 MB / 0.9911 GB, free: 3.668 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.00358/0.6484, allocations: 2.593 MB / 0.9936 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.6495, allocations: 0.7551 MB / 0.9944 GB, free: 304 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/0.6518, allocations: 1.277 MB / 0.9956 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.6533, allocations: 0.865 MB / 0.9964 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002035/0.6535, allocations: 108 kB / 0.9965 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002082/0.6555, allocations: 1.282 MB / 0.9978 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004418/0.656, allocations: 0.5103 MB / 0.9983 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0006436/0.6566, allocations: 0.529 MB / 0.9988 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002829/0.6595, allocations: 2.161 MB / 1.001 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.6595, allocations: 7.938 kB / 1.001 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6595, allocations: 3.938 kB / 1.001 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.848e-05/0.6595, allocations: 0 / 1.001 GB, free: 9.539 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002537/0.6621, allocations: 1.485 MB / 1.002 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.6621, allocations: 8.031 kB / 1.002 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001267/0.6622, allocations: 135.3 kB / 1.003 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/0.6641, allocations: 478.8 kB / 1.003 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.6652, allocations: 0.7799 MB / 1.004 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.2e-05/0.6653, allocations: 66 kB / 1.004 GB, free: 6.527 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.952e-05/0.6654, allocations: 91.94 kB / 1.004 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.667, allocations: 1.555 MB / 1.005 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.6671, allocations: 4 kB / 1.005 GB, free: 4.762 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.414e-05/0.6671, allocations: 39.94 kB / 1.005 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.966e-05/0.6672, allocations: 37.98 kB / 1.005 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.669, allocations: 1.062 MB / 1.007 GB, free: 3.621 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.004549/0.6735, allocations: 3.304 MB / 1.01 GB, free: 232 kB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.6746, allocations: 0.726 MB / 1.01 GB, free: 15.49 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000493/0.6751, allocations: 377.3 kB / 1.011 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.6752, allocations: 35.94 kB / 1.011 GB, free: 15.08 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.6753, allocations: 38.56 kB / 1.011 GB, free: 15.04 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=43): time 2.515e-06/0.6753, allocations: 3.938 kB / 1.011 GB, free: 15.03 MB / 0.7917 GB Notification: Performance of matching and sorting (n=45): time 0.003446/0.6787, allocations: 2.121 MB / 1.013 GB, free: 12.88 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.6787, allocations: 55.41 kB / 1.013 GB, free: 12.81 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.6798, allocations: 0.8763 MB / 1.014 GB, free: 11.93 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.962e-05/0.6799, allocations: 37.7 kB / 1.014 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.6801, allocations: 0.4923 MB / 1.014 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.6803, allocations: 170.5 kB / 1.015 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.6804, allocations: 122.2 kB / 1.015 GB, free: 11.1 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.996e-05/0.6805, allocations: 334 kB / 1.015 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005423/0.681, allocations: 365 kB / 1.015 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006233/0.6817, allocations: 0.5553 MB / 1.016 GB, free: 9.793 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.003412/0.6851, allocations: 2.185 MB / 1.018 GB, free: 7.555 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.6851, allocations: 0 / 1.018 GB, free: 7.555 MB / 0.7917 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001412/0.6865, allocations: 0.9889 MB / 1.019 GB, free: 6.559 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.6865, allocations: 8 kB / 1.019 GB, free: 6.551 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.6865, allocations: 4 kB / 1.019 GB, free: 6.547 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.6866, allocations: 15.88 kB / 1.019 GB, free: 6.531 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.6871, allocations: 187.8 kB / 1.019 GB, free: 6.348 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.6871, allocations: 8 kB / 1.019 GB, free: 6.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006266/0.6877, allocations: 63.94 kB / 1.019 GB, free: 6.277 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.3e-05/0.6877, allocations: 23.98 kB / 1.019 GB, free: 6.254 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: 17 * 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * 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.0004513/0.6882, allocations: 317.5 kB / 1.02 GB, free: 5.934 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.6883, allocations: 103.4 kB / 1.02 GB, free: 5.832 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.6884, allocations: 100.8 kB / 1.02 GB, free: 5.73 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.6884, allocations: 7.938 kB / 1.02 GB, free: 5.723 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.6884, allocations: 0 / 1.02 GB, free: 5.723 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001374/0.6898, allocations: 1.027 MB / 1.021 GB, free: 4.609 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/0.6927, allocations: 1.972 MB / 1.023 GB, free: 2.547 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.6927, allocations: 12.03 kB / 1.023 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/0.6931, allocations: 167.7 kB / 1.023 GB, free: 2.371 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.6931, allocations: 8 kB / 1.023 GB, free: 2.363 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.6932, allocations: 12 kB / 1.023 GB, free: 2.352 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.637e-06/0.6932, allocations: 11.98 kB / 1.023 GB, free: 2.34 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.6932, allocations: 11.88 kB / 1.023 GB, free: 2.328 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.695, allocations: 1.419 MB / 1.024 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000369/0.6953, allocations: 187.3 kB / 1.024 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.192e-05/0.6954, allocations: 8 kB / 1.024 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004511/0.6959, allocations: 75.86 kB / 1.025 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/0.6959, allocations: 39.88 kB / 1.025 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.061e-05/0.696, allocations: 31.92 kB / 1.025 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0006002/0.6966, allocations: 0.6005 MB / 1.025 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6966, allocations: 0 / 1.025 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007161/0.6973, allocations: 267.9 kB / 1.025 GB, free: 15.66 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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): 45 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.002576/0.6999, allocations: 2.06 MB / 1.027 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001307/0.7012, allocations: 0.7913 MB / 1.028 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.7012, allocations: 0 / 1.028 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000521/0.7017, allocations: 389 kB / 1.029 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.7034, allocations: 0.5783 MB / 1.029 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.7137, allocations: 8.212 MB / 1.037 GB, free: 3.285 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.7142, allocations: 0.5086 MB / 1.038 GB, free: 2.746 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0008296/0.715, allocations: 267.8 kB / 1.038 GB, free: 2.48 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004001/0.7154, allocations: 351.3 kB / 1.038 GB, free: 2.141 MB / 0.8073 GB Notification: Performance of SimCode: time 2.464e-06/0.7154, allocations: 7.938 kB / 1.038 GB, free: 2.133 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04891/0.7643, allocations: 31.86 MB / 1.069 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.518/8.282, allocations: 12 kB / 1.069 GB, free: 2.844 MB / 0.8386 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.2247503711842] Failed to read output from testmodel.py, exit status != 0: 8.376384428236634 8.388499763 7.726330534 Calling exit ...