Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001698/0.001698, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001837/0.001837, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.405/1.405, allocations: 230.6 MB / 256.8 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.8233/0.8233, allocations: 134 MB / 447.2 MB, free: 10.24 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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="cs",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.002788/0.002788, allocations: 69.8 kB / 0.6193 GB, free: 7.164 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1936, allocations: 85.91 MB / 0.7032 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6255/0.8192, allocations: 191.2 MB / 0.8899 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01916/0.8383, allocations: 13.24 MB / 0.9029 GB, free: 10.04 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/0.84, allocations: 43.62 kB / 0.9029 GB, free: 9.996 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001638/0.8416, allocations: 449.1 kB / 0.9033 GB, free: 9.555 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003593/0.8452, allocations: 1.218 MB / 0.9045 GB, free: 8.332 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.8473, allocations: 0.7334 MB / 0.9052 GB, free: 7.602 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003319/0.8506, allocations: 2.059 MB / 0.9072 GB, free: 5.535 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.8517, allocations: 0.6255 MB / 0.9079 GB, free: 4.891 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005015/0.8567, allocations: 1.919 MB / 0.9097 GB, free: 2.965 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.8586, allocations: 0.7221 MB / 0.9104 GB, free: 2.254 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000193/0.8588, allocations: 80 kB / 0.9105 GB, free: 2.176 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002201/0.861, allocations: 0.9353 MB / 0.9114 GB, free: 1.238 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004983/0.8615, allocations: 402.8 kB / 0.9118 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007361/0.8622, allocations: 0.4937 MB / 0.9123 GB, free: 356 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002329/0.8646, allocations: 1.501 MB / 0.9138 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.8646, allocations: 0 / 0.9138 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8646, allocations: 0 / 0.9138 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.8646, allocations: 0 / 0.9138 GB, free: 14.84 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002013/0.8666, allocations: 1.201 MB / 0.9149 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.8667, allocations: 8.031 kB / 0.9149 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.218e-05/0.8667, allocations: 22 kB / 0.915 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001462/0.8668, allocations: 130.4 kB / 0.9151 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.868, allocations: 215.2 kB / 0.9153 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.8692, allocations: 0.6154 MB / 0.9159 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.444e-05/0.8693, allocations: 58 kB / 0.9159 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.8694, allocations: 79.98 kB / 0.916 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.8708, allocations: 0.9326 MB / 0.9169 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.8708, allocations: 7.938 kB / 0.9169 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.188e-05/0.8709, allocations: 32 kB / 0.917 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/0.8709, allocations: 25.31 kB / 0.917 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.8719, allocations: 0.6177 MB / 0.9176 GB, free: 10.76 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.005195/0.8771, allocations: 4.524 MB / 0.922 GB, free: 5.945 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008705/0.878, allocations: 446.4 kB / 0.9224 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003491/0.8783, allocations: 230.4 kB / 0.9227 GB, free: 5.25 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/0.8785, allocations: 31.92 kB / 0.9227 GB, free: 5.219 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.8785, allocations: 46.48 kB / 0.9227 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 2.485e-06/0.8785, allocations: 0 / 0.9227 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45): time 0.003062/0.8816, allocations: 1.523 MB / 0.9242 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.8817, allocations: 114.8 kB / 0.9243 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.8829, allocations: 0.7116 MB / 0.925 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.063e-05/0.883, allocations: 41.69 kB / 0.9251 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005069/0.8835, allocations: 424.5 kB / 0.9255 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.8837, allocations: 166.6 kB / 0.9256 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002499/0.8839, allocations: 122.3 kB / 0.9257 GB, free: 1.992 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002995/0.8842, allocations: 326 kB / 0.9261 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.8846, allocations: 185.2 kB / 0.9262 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005782/0.8851, allocations: 413 kB / 0.9266 GB, free: 0.9922 MB / 0.6856 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002526/0.8877, allocations: 1.098 MB / 0.9277 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.8877, allocations: 0 / 0.9277 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001304/0.889, allocations: 0.684 MB / 0.9284 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.889, allocations: 14.12 kB / 0.9284 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.889, allocations: 4 kB / 0.9284 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001831/0.8892, allocations: 12 kB / 0.9284 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004857/0.8897, allocations: 119.8 kB / 0.9285 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-05/0.8897, allocations: 19.92 kB / 0.9285 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005923/0.8903, allocations: 31.89 kB / 0.9286 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-05/0.8904, allocations: 27.98 kB / 0.9286 GB, free: 14.89 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004725/0.8908, allocations: 277.5 kB / 0.9288 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.891, allocations: 83.48 kB / 0.9289 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.8912, allocations: 91.67 kB / 0.929 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.8912, allocations: 4 kB / 0.929 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.8912, allocations: 3.984 kB / 0.929 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008451/0.892, allocations: 0.6949 MB / 0.9297 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002807/0.8948, allocations: 1.617 MB / 0.9313 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.677e-06/0.8949, allocations: 4.875 kB / 0.9313 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004604/0.8953, allocations: 99.89 kB / 0.9314 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.8953, allocations: 7.938 kB / 0.9314 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.161e-05/0.8954, allocations: 16 kB / 0.9314 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/0.8954, allocations: 11.92 kB / 0.9314 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.8954, allocations: 8.469 kB / 0.9314 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.8967, allocations: 0.9064 MB / 0.9323 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000363/0.897, allocations: 127.4 kB / 0.9324 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.843e-05/0.8971, allocations: 16 kB / 0.9324 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004278/0.8975, allocations: 23.03 kB / 0.9325 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.577e-05/0.8976, allocations: 43.81 kB / 0.9325 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.8976, allocations: 16 kB / 0.9325 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007069/0.8984, allocations: 0.5146 MB / 0.933 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.8984, allocations: 0 / 0.933 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008469/0.8992, allocations: 200 kB / 0.9332 GB, free: 9.895 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002155/0.9014, allocations: 1.513 MB / 0.9347 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009633/0.9023, allocations: 468.5 kB / 0.9351 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.9023, allocations: 0 / 0.9351 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.9027, allocations: 197.7 kB / 0.9353 GB, free: 7.672 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/0.9049, allocations: 491.2 kB / 0.9358 GB, free: 7.219 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009611/0.9145, allocations: 6.618 MB / 0.9423 GB, free: 204 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000996/0.9155, allocations: 1.032 MB / 0.9433 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000763/0.9162, allocations: 199 kB / 0.9435 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004525/0.9167, allocations: 295.3 kB / 0.9437 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of SimCode: time 1.944e-06/0.9167, allocations: 0 / 0.9437 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05351/0.9702, allocations: 22.82 MB / 0.966 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.46, allocations: 4 kB / 0.966 GB, free: 8.172 MB / 0.7325 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.11545865109656] Failed to read output from testmodel.py, exit status != 0: 13.627216338994913 13.643960815 12.775906279 Calling exit ...