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.001146/0.001146, allocations: 109.9 kB / 18.93 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.0008162/0.0008162, allocations: 218.3 kB / 22.26 MB, free: 3.707 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.9049/0.9049, allocations: 230.6 MB / 256 MB, free: 9.793 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.7839/0.7839, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.0008967/0.0008967, allocations: 72.59 kB / 0.7182 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5253/0.5262, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1707/0.6969, allocations: 194.5 MB / 1.008 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.007654/0.7045, allocations: 5.752 MB / 1.013 GB, free: 13.13 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008409/0.7054, allocations: 63.44 kB / 1.013 GB, free: 13.07 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.7066, allocations: 0.5903 MB / 1.014 GB, free: 12.48 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003792/0.7103, allocations: 1.937 MB / 1.016 GB, free: 10.53 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002632/0.713, allocations: 1.242 MB / 1.017 GB, free: 9.297 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002873/0.7159, allocations: 3.045 MB / 1.02 GB, free: 6.25 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.7169, allocations: 0.8282 MB / 1.021 GB, free: 5.402 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.7188, allocations: 1.32 MB / 1.022 GB, free: 4.078 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001741/0.7205, allocations: 1.021 MB / 1.023 GB, free: 3.059 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.7206, allocations: 120 kB / 1.023 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002032/0.7227, allocations: 1.547 MB / 1.025 GB, free: 1.391 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0003977/0.7231, allocations: 0.5921 MB / 1.025 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0005473/0.7236, allocations: 0.7156 MB / 1.026 GB, free: 80 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.7258, allocations: 2.348 MB / 1.028 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.7258, allocations: 4 kB / 1.028 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7258, allocations: 0 / 1.028 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.622e-05/0.7258, allocations: 0 / 1.028 GB, free: 13.72 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.001688/0.7275, allocations: 1.59 MB / 1.03 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.7275, allocations: 8.031 kB / 1.03 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/0.7277, allocations: 160.2 kB / 1.03 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.7287, allocations: 326.9 kB / 1.03 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.7298, allocations: 0.85 MB / 1.031 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.397e-05/0.7298, allocations: 70 kB / 1.031 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.7299, allocations: 104 kB / 1.031 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.7312, allocations: 1.085 MB / 1.033 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.7312, allocations: 0 / 1.033 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.328e-05/0.7312, allocations: 44 kB / 1.033 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.51e-05/0.7313, allocations: 34 kB / 1.033 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.7325, allocations: 0.9993 MB / 1.034 GB, free: 8.383 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.004062/0.7366, allocations: 4.319 MB / 1.038 GB, free: 3.734 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005976/0.7372, allocations: 0.5696 MB / 1.038 GB, free: 3.16 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.7375, allocations: 318.5 kB / 1.039 GB, free: 2.844 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.7376, allocations: 40.41 kB / 1.039 GB, free: 2.805 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.7376, allocations: 42.98 kB / 1.039 GB, free: 2.754 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=53): time 1.783e-06/0.7376, allocations: 0 / 1.039 GB, free: 2.754 MB / 0.8073 GB Notification: Performance of matching and sorting (n=55): time 0.002581/0.7402, allocations: 1.911 MB / 1.041 GB, free: 0.7969 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.7403, allocations: 63.84 kB / 1.041 GB, free: 0.7227 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007455/0.741, allocations: 0.8843 MB / 1.042 GB, free: 15.83 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.741, allocations: 41.7 kB / 1.042 GB, free: 15.78 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.7413, allocations: 0.5197 MB / 1.042 GB, free: 15.25 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.7414, allocations: 202.2 kB / 1.042 GB, free: 15.05 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.7416, allocations: 134.6 kB / 1.042 GB, free: 14.91 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.374e-05/0.7417, allocations: 334 kB / 1.043 GB, free: 14.58 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.742, allocations: 285.8 kB / 1.043 GB, free: 14.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004311/0.7424, allocations: 445 kB / 1.043 GB, free: 13.82 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.00276/0.7452, allocations: 1.67 MB / 1.045 GB, free: 12.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7452, allocations: 0 / 1.045 GB, free: 12.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.000935/0.7461, allocations: 0.9284 MB / 1.046 GB, free: 11.15 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.7461, allocations: 4 kB / 1.046 GB, free: 11.15 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.7461, allocations: 11.88 kB / 1.046 GB, free: 11.14 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001573/0.7463, allocations: 98.98 kB / 1.046 GB, free: 11.03 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/0.7467, allocations: 163.8 kB / 1.046 GB, free: 10.87 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/0.749, allocations: 4.314 MB / 1.05 GB, free: 6.215 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.7494, allocations: 31.98 kB / 1.05 GB, free: 6.184 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.7494, allocations: 24 kB / 1.05 GB, free: 6.16 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.0007039/0.7501, allocations: 349.5 kB / 1.051 GB, free: 5.809 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.7502, allocations: 115.4 kB / 1.051 GB, free: 5.695 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.7504, allocations: 109.2 kB / 1.051 GB, free: 5.582 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.7504, allocations: 4 kB / 1.051 GB, free: 5.578 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.7504, allocations: 7.938 kB / 1.051 GB, free: 5.57 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007005/0.7511, allocations: 0.7638 MB / 1.052 GB, free: 4.754 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.753, allocations: 1.96 MB / 1.054 GB, free: 2.699 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.753, allocations: 4 kB / 1.054 GB, free: 2.695 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.7533, allocations: 143.8 kB / 1.054 GB, free: 2.555 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.647e-05/0.7534, allocations: 45.23 kB / 1.054 GB, free: 2.508 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.7534, allocations: 16 kB / 1.054 GB, free: 2.492 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008355/0.7543, allocations: 1.502 MB / 1.055 GB, free: 0.875 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7543, allocations: 4 kB / 1.055 GB, free: 0.8711 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.7554, allocations: 1.218 MB / 1.057 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/0.7557, allocations: 183.2 kB / 1.057 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.237e-05/0.7557, allocations: 16 kB / 1.057 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/0.7561, allocations: 43.77 kB / 1.057 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.67e-05/0.7562, allocations: 51.8 kB / 1.057 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.772e-05/0.7562, allocations: 31.98 kB / 1.057 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005512/0.7568, allocations: 0.6122 MB / 1.057 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.7568, allocations: 0 / 1.057 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009729/0.7577, allocations: 303.9 kB / 1.058 GB, free: 14.36 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.001612/0.7594, allocations: 1.84 MB / 1.06 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.7604, allocations: 0.9763 MB / 1.061 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.7604, allocations: 4.062 kB / 1.061 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003939/0.7608, allocations: 434.4 kB / 1.061 GB, free: 11 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.7624, allocations: 0.6499 MB / 1.062 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007812/0.7702, allocations: 7.967 MB / 1.069 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005532/0.7707, allocations: 1.167 MB / 1.07 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0006074/0.7713, allocations: 252.4 kB / 1.071 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003571/0.7717, allocations: 379.3 kB / 1.071 GB, free: 288 kB / 0.8386 GB Notification: Performance of SimCode: time 7.61e-07/0.7717, allocations: 4 kB / 1.071 GB, free: 284 kB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05028/0.822, allocations: 31.2 MB / 1.102 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.149/9.971, allocations: 7.922 kB / 1.102 GB, free: 1.422 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-08 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.823090343968943] Failed to read output from testmodel.py, exit status != 0: 10.070905155967921 10.080594463 9.352906911 Calling exit ...