Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001263/0.001263, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001528/0.001528, allocations: 215.3 kB / 22.25 MB, free: 5.125 MB / 14.72 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 1.417/1.417, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8075/0.8075, allocations: 134 MB / 446.4 MB, free: 10.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_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.002282/0.002282, allocations: 67.3 kB / 0.6186 GB, free: 7.215 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1757, allocations: 85.9 MB / 0.7025 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5663/0.742, allocations: 194.4 MB / 0.8923 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01056/0.7526, allocations: 5.723 MB / 0.8979 GB, free: 14.41 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.7541, allocations: 55.5 kB / 0.8979 GB, free: 14.35 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.7559, allocations: 0.602 MB / 0.8985 GB, free: 13.75 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005275/0.7612, allocations: 1.925 MB / 0.9004 GB, free: 11.81 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003294/0.7645, allocations: 1.231 MB / 0.9016 GB, free: 10.59 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004324/0.7688, allocations: 3.034 MB / 0.9046 GB, free: 7.547 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.7701, allocations: 0.8204 MB / 0.9054 GB, free: 6.703 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/0.7722, allocations: 1.14 MB / 0.9065 GB, free: 5.559 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002624/0.7749, allocations: 1.036 MB / 0.9075 GB, free: 4.531 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002793/0.7751, allocations: 124 kB / 0.9076 GB, free: 4.41 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003459/0.7786, allocations: 1.559 MB / 0.9091 GB, free: 2.848 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007687/0.7794, allocations: 0.5921 MB / 0.9097 GB, free: 2.254 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.7804, allocations: 0.7234 MB / 0.9104 GB, free: 1.527 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003905/0.7843, allocations: 2.352 MB / 0.9127 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.7843, allocations: 0 / 0.9127 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7843, allocations: 0 / 0.9127 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.741e-05/0.7844, allocations: 0 / 0.9127 GB, free: 15.17 MB / 0.6856 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.002864/0.7872, allocations: 1.594 MB / 0.9143 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.7873, allocations: 12.03 kB / 0.9143 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002142/0.7875, allocations: 156.2 kB / 0.9144 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.7895, allocations: 330.9 kB / 0.9148 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.7911, allocations: 0.8461 MB / 0.9156 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.51e-05/0.7912, allocations: 81.94 kB / 0.9157 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.7914, allocations: 103.9 kB / 0.9158 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.7932, allocations: 1.073 MB / 0.9168 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.7933, allocations: 0 / 0.9168 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.83e-05/0.7934, allocations: 44 kB / 0.9169 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.367e-05/0.7934, allocations: 41.98 kB / 0.9169 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.7951, allocations: 0.9876 MB / 0.9179 GB, free: 9.836 MB / 0.6856 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.006385/0.8015, allocations: 4.169 MB / 0.9219 GB, free: 5.375 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009011/0.8024, allocations: 0.5514 MB / 0.9225 GB, free: 4.816 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005089/0.8029, allocations: 322.5 kB / 0.9228 GB, free: 4.5 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001719/0.8031, allocations: 28.41 kB / 0.9228 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.8031, allocations: 46.98 kB / 0.9228 GB, free: 4.414 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=53): time 1.863e-06/0.8032, allocations: 0 / 0.9228 GB, free: 4.414 MB / 0.6856 GB Notification: Performance of matching and sorting (n=55): time 0.003922/0.8071, allocations: 1.911 MB / 0.9247 GB, free: 2.461 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.8071, allocations: 59.84 kB / 0.9248 GB, free: 2.391 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.8082, allocations: 0.8882 MB / 0.9256 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.243e-05/0.8083, allocations: 37.7 kB / 0.9257 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004178/0.8087, allocations: 0.5158 MB / 0.9262 GB, free: 0.9297 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.8089, allocations: 210.2 kB / 0.9264 GB, free: 0.7227 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.8091, allocations: 130.6 kB / 0.9265 GB, free: 0.5859 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.8093, allocations: 338 kB / 0.9268 GB, free: 256 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/0.8098, allocations: 285.8 kB / 0.9271 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006389/0.8104, allocations: 442.8 kB / 0.9275 GB, free: 15.48 MB / 0.7012 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.003877/0.8143, allocations: 1.66 MB / 0.9291 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.8143, allocations: 4 kB / 0.9291 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001617/0.8159, allocations: 0.9283 MB / 0.9301 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.816, allocations: 12.44 kB / 0.9301 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.816, allocations: 4 kB / 0.9301 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002149/0.8162, allocations: 102.5 kB / 0.9302 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006987/0.8169, allocations: 166.7 kB / 0.9303 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003907/0.8208, allocations: 4.339 MB / 0.9346 GB, free: 7.855 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008511/0.8216, allocations: 37.44 kB / 0.9346 GB, free: 7.82 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.312e-05/0.8217, allocations: 24 kB / 0.9346 GB, free: 7.797 MB / 0.7012 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.0005669/0.8223, allocations: 349.6 kB / 0.935 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.8224, allocations: 103.4 kB / 0.9351 GB, free: 7.344 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.8226, allocations: 109.2 kB / 0.9352 GB, free: 7.234 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.8227, allocations: 4.688 kB / 0.9352 GB, free: 7.23 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.8227, allocations: 4 kB / 0.9352 GB, free: 7.227 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001267/0.8239, allocations: 0.7676 MB / 0.9359 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003241/0.8272, allocations: 1.948 MB / 0.9378 GB, free: 4.359 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.8272, allocations: 4 kB / 0.9378 GB, free: 4.355 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006637/0.8278, allocations: 156.7 kB / 0.938 GB, free: 4.203 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/0.8279, allocations: 40.83 kB / 0.938 GB, free: 4.16 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.98e-05/0.828, allocations: 16 kB / 0.938 GB, free: 4.145 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/0.8293, allocations: 1.502 MB / 0.9395 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/0.8293, allocations: 11.92 kB / 0.9395 GB, free: 2.516 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.8312, allocations: 1.234 MB / 0.9407 GB, free: 1.23 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000525/0.8318, allocations: 183.3 kB / 0.9409 GB, free: 1.051 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.8319, allocations: 16 kB / 0.9409 GB, free: 1.035 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006623/0.8325, allocations: 31.22 kB / 0.9409 GB, free: 1.008 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.8327, allocations: 51.8 kB / 0.941 GB, free: 0.957 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.928e-05/0.8327, allocations: 35.98 kB / 0.941 GB, free: 0.9219 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000869/0.8336, allocations: 0.6083 MB / 0.9416 GB, free: 324 kB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8336, allocations: 3.938 kB / 0.9416 GB, free: 320 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009874/0.8346, allocations: 307.9 kB / 0.9419 GB, free: 12 kB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],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.002457/0.837, allocations: 1.842 MB / 0.9437 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0016/0.8386, allocations: 0.9952 MB / 0.9447 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.8386, allocations: 0 / 0.9447 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006317/0.8393, allocations: 431.5 kB / 0.9451 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/0.842, allocations: 0.6544 MB / 0.9457 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.8539, allocations: 7.955 MB / 0.9535 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009563/0.8549, allocations: 1.174 MB / 0.9546 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009932/0.8559, allocations: 252.4 kB / 0.9549 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005314/0.8564, allocations: 383.3 kB / 0.9552 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of SimCode: time 1.583e-06/0.8564, allocations: 4 kB / 0.9553 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1091/0.9655, allocations: 31.27 MB / 0.9858 GB, free: 2.988 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/15.14, allocations: 3.938 kB / 0.9858 GB, free: 2.984 MB / 0.7481 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.765753788997245] Failed to read output from testmodel.py, exit status != 0: 15.269526676005626 15.291878809 14.503053172 Calling exit ...