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.0008286/0.0008286, 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.0009478/0.0009478, 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.9476/0.9476, allocations: 230.6 MB / 256 MB, free: 9.578 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.7646/0.7646, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.0009521/0.0009521, allocations: 71.2 kB / 0.7182 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4744/0.4753, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1485/0.6238, allocations: 168.5 MB / 0.9823 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00732/0.6311, allocations: 5.427 MB / 0.9876 GB, free: 7.266 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.6323, allocations: 55.5 kB / 0.9877 GB, free: 7.211 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.6335, allocations: 0.5397 MB / 0.9882 GB, free: 6.668 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003371/0.6368, allocations: 1.921 MB / 0.9901 GB, free: 4.738 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.6389, allocations: 1.206 MB / 0.9913 GB, free: 3.543 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003062/0.642, allocations: 3.002 MB / 0.9942 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.643, allocations: 0.8203 MB / 0.995 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/0.6448, allocations: 1.324 MB / 0.9963 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.6464, allocations: 0.9947 MB / 0.9973 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.6465, allocations: 128 kB / 0.9974 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.6484, allocations: 1.192 MB / 0.9985 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004554/0.6489, allocations: 0.5843 MB / 0.9991 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0005719/0.6494, allocations: 0.6069 MB / 0.9997 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002613/0.6521, allocations: 2.309 MB / 1.002 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.6521, allocations: 3.984 kB / 1.002 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.434e-06/0.6521, allocations: 0 / 1.002 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.203e-05/0.6521, allocations: 0 / 1.002 GB, free: 8.535 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.001845/0.6539, allocations: 1.586 MB / 1.004 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.654, allocations: 12.03 kB / 1.004 GB, free: 6.898 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001439/0.6541, allocations: 156.2 kB / 1.004 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.6554, allocations: 334.9 kB / 1.004 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.6564, allocations: 0.8423 MB / 1.005 GB, free: 5.539 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.259e-05/0.6565, allocations: 77.98 kB / 1.005 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.6566, allocations: 99.95 kB / 1.005 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.658, allocations: 1.539 MB / 1.006 GB, free: 3.711 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.658, allocations: 0 / 1.006 GB, free: 3.711 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.595e-05/0.6581, allocations: 44 kB / 1.007 GB, free: 3.668 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-05/0.6581, allocations: 37.94 kB / 1.007 GB, free: 3.629 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.6593, allocations: 0.9915 MB / 1.008 GB, free: 2.641 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.003827/0.6631, allocations: 2.918 MB / 1.01 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006226/0.6637, allocations: 0.5552 MB / 1.011 GB, free: 15.1 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.664, allocations: 322.5 kB / 1.011 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.6641, allocations: 24.42 kB / 1.011 GB, free: 14.76 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.6642, allocations: 50.94 kB / 1.011 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=53): time 2.114e-06/0.6642, allocations: 0 / 1.011 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of matching and sorting (n=55): time 0.00268/0.6669, allocations: 1.904 MB / 1.013 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.6669, allocations: 63.84 kB / 1.013 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.6679, allocations: 0.892 MB / 1.014 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.668, allocations: 37.7 kB / 1.014 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.6682, allocations: 0.5235 MB / 1.015 GB, free: 11.2 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.6684, allocations: 202.3 kB / 1.015 GB, free: 11 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.6685, allocations: 134.6 kB / 1.015 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.6686, allocations: 334 kB / 1.015 GB, free: 10.53 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/0.6689, allocations: 289.8 kB / 1.016 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/0.6693, allocations: 488.4 kB / 1.016 GB, free: 9.707 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.002237/0.6715, allocations: 1.666 MB / 1.018 GB, free: 7.992 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.6715, allocations: 0 / 1.018 GB, free: 7.992 MB / 0.7917 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0009427/0.6725, allocations: 0.9284 MB / 1.019 GB, free: 7.047 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.6725, allocations: 12.44 kB / 1.019 GB, free: 7.035 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.6725, allocations: 7.938 kB / 1.019 GB, free: 7.027 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/0.6727, allocations: 98.52 kB / 1.019 GB, free: 6.922 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.673, allocations: 159.8 kB / 1.019 GB, free: 6.766 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002609/0.6756, allocations: 4.322 MB / 1.023 GB, free: 2.102 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004676/0.6761, allocations: 31.94 kB / 1.023 GB, free: 2.07 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.985e-05/0.6761, allocations: 24 kB / 1.023 GB, free: 2.047 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 (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.000416/0.6766, allocations: 357.6 kB / 1.023 GB, free: 1.688 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.995e-05/0.6767, allocations: 107.4 kB / 1.024 GB, free: 1.582 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.6768, allocations: 109.2 kB / 1.024 GB, free: 1.469 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.6768, allocations: 4 kB / 1.024 GB, free: 1.465 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6768, allocations: 0 / 1.024 GB, free: 1.465 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000675/0.6775, allocations: 0.7599 MB / 1.024 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.6796, allocations: 1.812 MB / 1.026 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.6796, allocations: 4 kB / 1.026 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003634/0.68, allocations: 148.2 kB / 1.026 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-05/0.68, allocations: 44.83 kB / 1.026 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.6801, allocations: 12 kB / 1.026 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.6811, allocations: 1.498 MB / 1.028 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.6811, allocations: 4 kB / 1.028 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.6822, allocations: 1.218 MB / 1.029 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003188/0.6825, allocations: 187.2 kB / 1.029 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.734e-05/0.6826, allocations: 12 kB / 1.029 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.6829, allocations: 46.08 kB / 1.029 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/0.683, allocations: 43.86 kB / 1.029 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-05/0.6831, allocations: 35.98 kB / 1.029 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000573/0.6836, allocations: 0.6083 MB / 1.03 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6836, allocations: 0 / 1.03 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007347/0.6844, allocations: 311.9 kB / 1.03 GB, free: 10.41 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 (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.001523/0.6859, allocations: 1.824 MB / 1.032 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.6869, allocations: 0.9876 MB / 1.033 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.6869, allocations: 4.312 kB / 1.033 GB, free: 7.5 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004231/0.6874, allocations: 434.4 kB / 1.033 GB, free: 7.062 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/0.689, allocations: 0.6543 MB / 1.034 GB, free: 6.434 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007871/0.6969, allocations: 7.958 MB / 1.042 GB, free: 14.16 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.6973, allocations: 0.5743 MB / 1.042 GB, free: 13.55 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0006817/0.698, allocations: 244.4 kB / 1.043 GB, free: 13.31 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/0.6984, allocations: 383.3 kB / 1.043 GB, free: 12.93 MB / 0.823 GB Notification: Performance of SimCode: time 1.002e-06/0.6984, allocations: 3.938 kB / 1.043 GB, free: 12.93 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0552/0.7536, allocations: 33.58 MB / 1.076 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.352/9.106, allocations: 5.734 kB / 1.076 GB, free: 11.93 MB / 0.8542 GB " [Timeout remaining time 651] (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.054056423716247] Failed to read output from testmodel.py, exit status != 0: 9.207646771799773 9.215828337 8.561892075 Calling exit ...