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.001362/0.001362, 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.001619/0.001619, allocations: 221.5 kB / 22.26 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.403/1.403, allocations: 230.6 MB / 256 MB, free: 7.977 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.8341/0.8341, allocations: 134 MB / 446.4 MB, free: 10.21 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.001932/0.001932, allocations: 62.16 kB / 0.6186 GB, free: 7.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1672, allocations: 85.92 MB / 0.7025 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5828/0.7501, allocations: 194.4 MB / 0.8923 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009897/0.76, allocations: 5.725 MB / 0.8979 GB, free: 14.38 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.7613, allocations: 59.5 kB / 0.898 GB, free: 14.32 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001786/0.7631, allocations: 0.5981 MB / 0.8985 GB, free: 13.71 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004996/0.7681, allocations: 1.929 MB / 0.9004 GB, free: 11.78 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.7714, allocations: 1.228 MB / 0.9016 GB, free: 10.56 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004464/0.7759, allocations: 3.042 MB / 0.9046 GB, free: 7.516 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001612/0.7775, allocations: 0.8204 MB / 0.9054 GB, free: 6.672 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0024/0.7799, allocations: 1.136 MB / 0.9065 GB, free: 5.531 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002485/0.7824, allocations: 1.04 MB / 0.9075 GB, free: 4.496 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003815/0.7828, allocations: 124 kB / 0.9076 GB, free: 4.375 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003433/0.7862, allocations: 1.559 MB / 0.9092 GB, free: 2.812 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000883/0.7871, allocations: 0.5843 MB / 0.9097 GB, free: 2.227 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001536/0.7886, allocations: 0.7234 MB / 0.9104 GB, free: 1.5 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004347/0.793, allocations: 2.352 MB / 0.9127 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.793, allocations: 0 / 0.9127 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.173e-06/0.793, allocations: 4 kB / 0.9127 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.472e-05/0.793, allocations: 0 / 0.9127 GB, free: 15.14 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.003705/0.7967, allocations: 1.594 MB / 0.9143 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.7968, allocations: 12.03 kB / 0.9143 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002982/0.7971, allocations: 152.2 kB / 0.9145 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002214/0.7993, allocations: 330.9 kB / 0.9148 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/0.8012, allocations: 0.8462 MB / 0.9156 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.628e-05/0.8012, allocations: 81.88 kB / 0.9157 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.8014, allocations: 107.9 kB / 0.9158 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/0.8035, allocations: 1.077 MB / 0.9168 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.8035, allocations: 0 / 0.9168 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.8036, allocations: 39.98 kB / 0.9169 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-05/0.8037, allocations: 45.94 kB / 0.9169 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.8056, allocations: 0.9876 MB / 0.9179 GB, free: 9.801 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.007095/0.8126, allocations: 4.161 MB / 0.9219 GB, free: 5.348 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009481/0.8136, allocations: 0.5591 MB / 0.9225 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005401/0.8141, allocations: 322.5 kB / 0.9228 GB, free: 4.465 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.8143, allocations: 20.42 kB / 0.9228 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.8143, allocations: 43 kB / 0.9229 GB, free: 4.391 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=53): time 2.615e-06/0.8143, allocations: 4 kB / 0.9229 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of matching and sorting (n=55): time 0.004288/0.8186, allocations: 1.908 MB / 0.9247 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.8187, allocations: 55.91 kB / 0.9248 GB, free: 2.371 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.82, allocations: 0.896 MB / 0.9256 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.44e-05/0.82, allocations: 37.7 kB / 0.9257 GB, free: 1.426 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004425/0.8205, allocations: 0.5158 MB / 0.9262 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.8207, allocations: 206.2 kB / 0.9264 GB, free: 0.6992 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.8209, allocations: 138.6 kB / 0.9265 GB, free: 0.5547 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.8211, allocations: 338 kB / 0.9268 GB, free: 224 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005391/0.8216, allocations: 285.8 kB / 0.9271 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006516/0.8223, allocations: 446.8 kB / 0.9275 GB, free: 15.44 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.003975/0.8262, allocations: 1.654 MB / 0.9291 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.8262, allocations: 3.938 kB / 0.9292 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001671/0.8279, allocations: 0.9361 MB / 0.9301 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.8279, allocations: 8 kB / 0.9301 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.8279, allocations: 4.5 kB / 0.9301 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000228/0.8282, allocations: 102.5 kB / 0.9302 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007227/0.8289, allocations: 159.8 kB / 0.9303 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004053/0.833, allocations: 4.344 MB / 0.9346 GB, free: 7.816 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009186/0.8339, allocations: 35.88 kB / 0.9346 GB, free: 7.781 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.75e-05/0.8339, allocations: 24 kB / 0.9346 GB, free: 7.758 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.0006242/0.8346, allocations: 345.6 kB / 0.935 GB, free: 7.41 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/0.8348, allocations: 103.4 kB / 0.9351 GB, free: 7.309 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.8351, allocations: 117.2 kB / 0.9352 GB, free: 7.191 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.8351, allocations: 4 kB / 0.9352 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.8351, allocations: 0 / 0.9352 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001184/0.8363, allocations: 0.7637 MB / 0.9359 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003711/0.84, allocations: 1.956 MB / 0.9378 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.84, allocations: 4 kB / 0.9378 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007005/0.8407, allocations: 156.2 kB / 0.938 GB, free: 4.164 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/0.8408, allocations: 36.84 kB / 0.938 GB, free: 4.125 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.214e-05/0.8409, allocations: 19.98 kB / 0.938 GB, free: 4.105 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.8424, allocations: 1.498 MB / 0.9395 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.8424, allocations: 7.938 kB / 0.9395 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/0.8444, allocations: 1.234 MB / 0.9407 GB, free: 1.199 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006186/0.845, allocations: 187.3 kB / 0.9409 GB, free: 1.016 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.8452, allocations: 12 kB / 0.9409 GB, free: 1.004 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007731/0.846, allocations: 33.47 kB / 0.9409 GB, free: 0.9727 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.8461, allocations: 55.8 kB / 0.941 GB, free: 0.918 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.601e-05/0.8462, allocations: 27.98 kB / 0.941 GB, free: 0.8906 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009395/0.8472, allocations: 0.6161 MB / 0.9416 GB, free: 284 kB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.8472, allocations: 0 / 0.9416 GB, free: 284 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001064/0.8482, allocations: 308 kB / 0.9419 GB, free: 15.97 MB / 0.7169 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.002554/0.8508, allocations: 1.844 MB / 0.9437 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001641/0.8524, allocations: 0.9876 MB / 0.9447 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.8524, allocations: 4 kB / 0.9447 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006568/0.8531, allocations: 431.4 kB / 0.9451 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/0.8558, allocations: 0.6635 MB / 0.9457 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.8677, allocations: 7.95 MB / 0.9535 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008711/0.8686, allocations: 1.174 MB / 0.9546 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008702/0.8694, allocations: 248.4 kB / 0.9549 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005173/0.87, allocations: 387.2 kB / 0.9553 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of SimCode: time 6.91e-07/0.87, allocations: 4 kB / 0.9553 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07951/0.9495, allocations: 31.26 MB / 0.9858 GB, free: 2.957 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/15.1, allocations: 2.031 kB / 0.9858 GB, free: 2.957 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-08 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.71667986898683] Failed to read output from testmodel.py, exit status != 0: 15.235130997141823 15.251327565 14.455170128 Calling exit ...