Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.0008446/0.0008446, allocations: 113.9 kB / 18.94 MB, free: 1.27 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.001051/0.001051, allocations: 217.2 kB / 22.26 MB, free: 3.695 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.9741/0.9741, allocations: 230.6 MB / 256 MB, free: 9.805 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.8141/0.8141, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.0009651/0.0009651, allocations: 74.19 kB / 0.7182 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4596/0.4605, allocations: 102 MB / 0.8179 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.153/0.6136, allocations: 194.5 MB / 1.008 GB, free: 2.848 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006594/0.6202, allocations: 5.761 MB / 1.013 GB, free: 13.08 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000892/0.6211, allocations: 59.5 kB / 1.013 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.6222, allocations: 0.5942 MB / 1.014 GB, free: 12.42 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003266/0.6255, allocations: 1.941 MB / 1.016 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.6276, allocations: 1.237 MB / 1.017 GB, free: 9.246 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002985/0.6306, allocations: 3.033 MB / 1.02 GB, free: 6.207 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.6317, allocations: 0.8321 MB / 1.021 GB, free: 5.355 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002261/0.6339, allocations: 1.316 MB / 1.022 GB, free: 4.035 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.6356, allocations: 1.032 MB / 1.023 GB, free: 3.008 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.6358, allocations: 120 kB / 1.023 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.6381, allocations: 1.551 MB / 1.025 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0004704/0.6386, allocations: 0.5804 MB / 1.025 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0007959/0.6394, allocations: 0.7234 MB / 1.026 GB, free: 28 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.00314/0.6425, allocations: 2.344 MB / 1.028 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.6425, allocations: 0 / 1.028 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.138e-06/0.6426, allocations: 7.938 kB / 1.028 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.553e-05/0.6426, allocations: 0 / 1.028 GB, free: 13.67 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002438/0.645, allocations: 1.582 MB / 1.03 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.6451, allocations: 8.031 kB / 1.03 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001451/0.6452, allocations: 168.1 kB / 1.03 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.6465, allocations: 334.9 kB / 1.03 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.6477, allocations: 0.8423 MB / 1.031 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.6477, allocations: 70 kB / 1.031 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.6478, allocations: 103.9 kB / 1.031 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.6493, allocations: 1.085 MB / 1.033 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.6494, allocations: 0 / 1.033 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.698e-05/0.6494, allocations: 47.98 kB / 1.033 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.823e-05/0.6495, allocations: 41.92 kB / 1.033 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.6506, allocations: 0.9955 MB / 1.034 GB, free: 8.324 MB / 0.8073 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.004601/0.6552, allocations: 4.323 MB / 1.038 GB, free: 3.672 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006149/0.6558, allocations: 0.559 MB / 1.038 GB, free: 3.105 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/0.6562, allocations: 326.5 kB / 1.039 GB, free: 2.781 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.6563, allocations: 28.41 kB / 1.039 GB, free: 2.754 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.6563, allocations: 39 kB / 1.039 GB, free: 2.707 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=53): time 3.006e-06/0.6563, allocations: 0 / 1.039 GB, free: 2.707 MB / 0.8073 GB Notification: Performance of matching and sorting (n=55): time 0.002773/0.6591, allocations: 1.923 MB / 1.041 GB, free: 0.7383 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.6591, allocations: 59.84 kB / 1.041 GB, free: 0.668 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007825/0.6599, allocations: 0.8844 MB / 1.042 GB, free: 15.77 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.6599, allocations: 37.7 kB / 1.042 GB, free: 15.73 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.6602, allocations: 0.5158 MB / 1.042 GB, free: 15.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.6603, allocations: 206.1 kB / 1.042 GB, free: 15 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.6606, allocations: 134.6 kB / 1.042 GB, free: 14.86 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.764e-05/0.6606, allocations: 334 kB / 1.043 GB, free: 14.53 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.661, allocations: 285.8 kB / 1.043 GB, free: 14.25 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.6614, allocations: 441 kB / 1.043 GB, free: 13.77 MB / 0.823 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.002275/0.6636, allocations: 1.67 MB / 1.045 GB, free: 12.05 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.6636, allocations: 0 / 1.045 GB, free: 12.05 MB / 0.823 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001034/0.6647, allocations: 0.9322 MB / 1.046 GB, free: 11.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.6647, allocations: 8 kB / 1.046 GB, free: 11.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.6647, allocations: 4.438 kB / 1.046 GB, free: 11.09 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001689/0.6649, allocations: 98.52 kB / 1.046 GB, free: 10.98 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.6653, allocations: 167.8 kB / 1.046 GB, free: 10.82 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00281/0.6681, allocations: 4.322 MB / 1.05 GB, free: 6.156 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007388/0.6688, allocations: 27.98 kB / 1.05 GB, free: 6.129 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/0.6689, allocations: 28 kB / 1.05 GB, free: 6.102 MB / 0.823 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000575/0.6694, allocations: 350.9 kB / 1.051 GB, free: 5.75 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.6696, allocations: 107.3 kB / 1.051 GB, free: 5.645 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.6697, allocations: 109.2 kB / 1.051 GB, free: 5.531 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.6697, allocations: 11.94 kB / 1.051 GB, free: 5.52 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.6697, allocations: 0 / 1.051 GB, free: 5.52 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007867/0.6705, allocations: 0.7638 MB / 1.052 GB, free: 4.703 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/0.6727, allocations: 1.964 MB / 1.054 GB, free: 2.645 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6727, allocations: 4 kB / 1.054 GB, free: 2.641 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000359/0.673, allocations: 148.2 kB / 1.054 GB, free: 2.496 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.687e-05/0.6731, allocations: 40.83 kB / 1.054 GB, free: 2.453 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.6732, allocations: 19.94 kB / 1.054 GB, free: 2.434 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008927/0.674, allocations: 1.498 MB / 1.055 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6741, allocations: 4 kB / 1.055 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.6754, allocations: 1.218 MB / 1.057 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000391/0.6758, allocations: 187.4 kB / 1.057 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/0.6758, allocations: 16 kB / 1.057 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/0.6762, allocations: 31.84 kB / 1.057 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.6763, allocations: 55.78 kB / 1.057 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.674e-05/0.6763, allocations: 35.97 kB / 1.057 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006578/0.677, allocations: 0.6122 MB / 1.057 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.677, allocations: 0 / 1.057 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008216/0.6778, allocations: 303.9 kB / 1.058 GB, free: 14.31 MB / 0.8386 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 (53): * Single equations (assignments): 52 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001633/0.6795, allocations: 1.828 MB / 1.06 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001224/0.6807, allocations: 0.9797 MB / 1.06 GB, free: 11.4 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.6807, allocations: 0 / 1.06 GB, free: 11.4 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004061/0.6811, allocations: 439.7 kB / 1.061 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/0.6828, allocations: 0.6581 MB / 1.062 GB, free: 10.33 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008222/0.691, allocations: 7.961 MB / 1.069 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007283/0.6917, allocations: 1.17 MB / 1.07 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0006909/0.6924, allocations: 244.4 kB / 1.071 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003679/0.6928, allocations: 387.3 kB / 1.071 GB, free: 232 kB / 0.8386 GB Notification: Performance of SimCode: time 1.633e-06/0.6928, allocations: 0 / 1.071 GB, free: 232 kB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05235/0.7451, allocations: 31.2 MB / 1.102 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.129/9.874, allocations: 9.781 kB / 1.102 GB, free: 1.375 MB / 0.8698 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_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_MixingVolumeTraceSubstanceReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.968236998887733] Failed to read output from testmodel.py, exit status != 0: 9.976490522967651 9.987583605 9.343108761 Calling exit ...