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.00189/0.00189, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002376/0.002376, allocations: 216.8 kB / 22.24 MB, free: 4.855 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.984 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.8151/0.8151, allocations: 134 MB / 446.4 MB, free: 9.926 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.00329/0.00329, allocations: 66.23 kB / 0.6185 GB, free: 6.867 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1786, allocations: 85.91 MB / 0.7024 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6031/0.7817, allocations: 168.4 MB / 0.8668 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00916/0.7909, allocations: 5.383 MB / 0.8721 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.792, allocations: 51.56 kB / 0.8721 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.7935, allocations: 0.5591 MB / 0.8727 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004476/0.798, allocations: 1.906 MB / 0.8745 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002975/0.801, allocations: 1.191 MB / 0.8757 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00396/0.805, allocations: 3.01 MB / 0.8786 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.8063, allocations: 0.8165 MB / 0.8794 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002123/0.8084, allocations: 1.137 MB / 0.8805 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002216/0.8106, allocations: 1.004 MB / 0.8815 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002482/0.8109, allocations: 124 kB / 0.8816 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002852/0.8137, allocations: 1.208 MB / 0.8828 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006848/0.8144, allocations: 0.5882 MB / 0.8834 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007724/0.8152, allocations: 0.6108 MB / 0.884 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003222/0.8184, allocations: 2.313 MB / 0.8863 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8184, allocations: 0 / 0.8863 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8184, allocations: 0 / 0.8863 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.778e-05/0.8184, allocations: 0 / 0.8863 GB, free: 6.801 MB / 0.6544 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.00264/0.8211, allocations: 1.59 MB / 0.8878 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.8211, allocations: 8.031 kB / 0.8878 GB, free: 5.168 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000202/0.8213, allocations: 160.2 kB / 0.888 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001894/0.8232, allocations: 334.9 kB / 0.8883 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.8249, allocations: 0.8383 MB / 0.8891 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.678e-05/0.825, allocations: 85.88 kB / 0.8892 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.8251, allocations: 104 kB / 0.8893 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.8273, allocations: 1.533 MB / 0.8908 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.8273, allocations: 0 / 0.8908 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.911e-05/0.8274, allocations: 44 kB / 0.8908 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.672e-05/0.8274, allocations: 37.98 kB / 0.8909 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.8292, allocations: 0.9837 MB / 0.8918 GB, free: 0.9062 MB / 0.6544 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.005835/0.835, allocations: 2.903 MB / 0.8947 GB, free: 13.95 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009173/0.8359, allocations: 0.5591 MB / 0.8952 GB, free: 13.38 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005189/0.8364, allocations: 314.5 kB / 0.8955 GB, free: 13.07 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.8366, allocations: 32.42 kB / 0.8955 GB, free: 13.04 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.8366, allocations: 39 kB / 0.8956 GB, free: 12.99 MB / 0.67 GB Notification: Performance of pre-optimization done (n=53): time 2.615e-06/0.8366, allocations: 0 / 0.8956 GB, free: 12.99 MB / 0.67 GB Notification: Performance of matching and sorting (n=55): time 0.003951/0.8406, allocations: 1.908 MB / 0.8974 GB, free: 11.04 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.8406, allocations: 63.91 kB / 0.8975 GB, free: 10.96 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.8418, allocations: 0.8997 MB / 0.8984 GB, free: 10.06 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.195e-05/0.8419, allocations: 41.7 kB / 0.8984 GB, free: 10.01 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004429/0.8423, allocations: 0.5196 MB / 0.8989 GB, free: 9.484 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.8425, allocations: 202.3 kB / 0.8991 GB, free: 9.285 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.8427, allocations: 138.6 kB / 0.8992 GB, free: 9.141 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.8429, allocations: 330 kB / 0.8996 GB, free: 8.812 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00049/0.8434, allocations: 285.8 kB / 0.8998 GB, free: 8.535 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006837/0.8441, allocations: 0.5389 MB / 0.9004 GB, free: 7.918 MB / 0.67 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.003918/0.848, allocations: 1.665 MB / 0.902 GB, free: 6.203 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.848, allocations: 4 kB / 0.902 GB, free: 6.199 MB / 0.67 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001585/0.8496, allocations: 0.9362 MB / 0.9029 GB, free: 5.246 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.8496, allocations: 8 kB / 0.9029 GB, free: 5.238 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.8496, allocations: 4 kB / 0.9029 GB, free: 5.234 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002135/0.8498, allocations: 94.52 kB / 0.903 GB, free: 5.133 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007023/0.8505, allocations: 168 kB / 0.9032 GB, free: 4.969 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00389/0.8544, allocations: 4.312 MB / 0.9074 GB, free: 324 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000855/0.8553, allocations: 41.12 kB / 0.9074 GB, free: 284 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/0.8553, allocations: 28 kB / 0.9074 GB, free: 256 kB / 0.67 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.0006073/0.8559, allocations: 345.5 kB / 0.9078 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.8561, allocations: 103.3 kB / 0.9079 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.8563, allocations: 109.2 kB / 0.908 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.8563, allocations: 8 kB / 0.908 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.8563, allocations: 0 / 0.908 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001126/0.8574, allocations: 0.7724 MB / 0.9087 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/0.8606, allocations: 1.801 MB / 0.9105 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.8606, allocations: 7.984 kB / 0.9105 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006693/0.8613, allocations: 147.8 kB / 0.9106 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001001/0.8614, allocations: 40.83 kB / 0.9107 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.8614, allocations: 16 kB / 0.9107 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.8628, allocations: 1.503 MB / 0.9122 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.8628, allocations: 7.938 kB / 0.9122 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.8646, allocations: 1.238 MB / 0.9134 GB, free: 9.836 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005002/0.8651, allocations: 179.3 kB / 0.9136 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.8652, allocations: 19.98 kB / 0.9136 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006655/0.8659, allocations: 28.05 kB / 0.9136 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.866, allocations: 55.8 kB / 0.9137 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-05/0.8661, allocations: 27.98 kB / 0.9137 GB, free: 9.531 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000808/0.8669, allocations: 0.6161 MB / 0.9143 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.8669, allocations: 0 / 0.9143 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009015/0.8678, allocations: 307.9 kB / 0.9146 GB, free: 8.617 MB / 0.6856 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.002323/0.8701, allocations: 1.845 MB / 0.9164 GB, free: 6.707 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.8717, allocations: 0.9872 MB / 0.9173 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.8717, allocations: 4 kB / 0.9173 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006411/0.8723, allocations: 431.8 kB / 0.9178 GB, free: 5.246 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/0.875, allocations: 0.6492 MB / 0.9184 GB, free: 4.625 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.886, allocations: 7.964 MB / 0.9262 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006512/0.8867, allocations: 0.582 MB / 0.9267 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008961/0.8876, allocations: 252.4 kB / 0.927 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005363/0.8881, allocations: 379.3 kB / 0.9273 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of SimCode: time 1.403e-06/0.8881, allocations: 0 / 0.9273 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07988/0.968, allocations: 33.66 MB / 0.9602 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/14.1, allocations: 4 kB / 0.9602 GB, free: 10.05 MB / 0.7325 GB " [Timeout remaining time 646] (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: 17.685700183268636] Failed to read output from testmodel.py, exit status != 0: 14.231750923208892 14.245823636 13.42437866 Calling exit ...