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.001823/0.001823, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002354/0.002354, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 7.777 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.8395/0.8395, allocations: 134 MB / 446.4 MB, free: 9.91 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.002058/0.002058, allocations: 74.83 kB / 0.6185 GB, free: 6.855 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1724, allocations: 85.91 MB / 0.7024 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5762/0.7486, allocations: 165.6 MB / 0.8641 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01747/0.7661, allocations: 12.02 MB / 0.8758 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.7674, allocations: 47.62 kB / 0.8759 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.7689, allocations: 425.2 kB / 0.8763 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003376/0.7722, allocations: 1.206 MB / 0.8774 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.7744, allocations: 0.7259 MB / 0.8782 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003071/0.7774, allocations: 2.036 MB / 0.8801 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009906/0.7784, allocations: 0.6215 MB / 0.8808 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004424/0.7829, allocations: 1.864 MB / 0.8826 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001854/0.7847, allocations: 0.6869 MB / 0.8832 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001728/0.7849, allocations: 80 kB / 0.8833 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.7867, allocations: 0.7364 MB / 0.884 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004876/0.7871, allocations: 390.9 kB / 0.8844 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005608/0.7877, allocations: 422.1 kB / 0.8848 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002577/0.7903, allocations: 1.491 MB / 0.8863 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.7903, allocations: 4 kB / 0.8863 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7903, allocations: 0 / 0.8863 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.109e-05/0.7903, allocations: 0 / 0.8863 GB, free: 6.797 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002034/0.7923, allocations: 1.186 MB / 0.8874 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.7924, allocations: 12.03 kB / 0.8874 GB, free: 5.562 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/0.7925, allocations: 122.5 kB / 0.8876 GB, free: 5.434 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.7937, allocations: 215.2 kB / 0.8878 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.795, allocations: 0.6154 MB / 0.8884 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.024e-05/0.7951, allocations: 58 kB / 0.8884 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.7952, allocations: 80 kB / 0.8885 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.7967, allocations: 1.062 MB / 0.8895 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.7968, allocations: 4 kB / 0.8895 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.738e-05/0.7968, allocations: 28 kB / 0.8896 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.073e-05/0.7969, allocations: 33.25 kB / 0.8896 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.7979, allocations: 0.6138 MB / 0.8902 GB, free: 2.594 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.004686/0.8026, allocations: 3.729 MB / 0.8938 GB, free: 14.73 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007531/0.8034, allocations: 444.3 kB / 0.8943 GB, free: 14.27 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.8037, allocations: 226.4 kB / 0.8945 GB, free: 14.04 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.8039, allocations: 27.98 kB / 0.8945 GB, free: 14.01 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.8039, allocations: 46.48 kB / 0.8945 GB, free: 13.95 MB / 0.67 GB Notification: Performance of pre-optimization done (n=43): time 4.298e-06/0.8039, allocations: 3.984 kB / 0.8946 GB, free: 13.95 MB / 0.67 GB Notification: Performance of matching and sorting (n=45): time 0.002888/0.8068, allocations: 1.527 MB / 0.896 GB, free: 12.38 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.203e-05/0.8069, allocations: 110.8 kB / 0.8961 GB, free: 12.25 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009466/0.8078, allocations: 0.731 MB / 0.8969 GB, free: 11.51 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/0.8079, allocations: 33.7 kB / 0.8969 GB, free: 11.47 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.8083, allocations: 420.6 kB / 0.8973 GB, free: 11.05 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.8084, allocations: 170.5 kB / 0.8975 GB, free: 10.89 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.8086, allocations: 118.3 kB / 0.8976 GB, free: 10.77 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.8087, allocations: 330 kB / 0.8979 GB, free: 10.44 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/0.8091, allocations: 181.2 kB / 0.8981 GB, free: 10.26 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006047/0.8097, allocations: 0.5579 MB / 0.8986 GB, free: 9.574 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002343/0.812, allocations: 1.101 MB / 0.8997 GB, free: 8.391 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.812, allocations: 3.875 kB / 0.8997 GB, free: 8.391 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001138/0.8131, allocations: 0.6832 MB / 0.9003 GB, free: 7.699 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.8132, allocations: 8.781 kB / 0.9004 GB, free: 7.691 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.8132, allocations: 11.94 kB / 0.9004 GB, free: 7.68 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.8132, allocations: 12 kB / 0.9004 GB, free: 7.668 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000471/0.8137, allocations: 127.8 kB / 0.9005 GB, free: 7.543 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.988e-05/0.8137, allocations: 11.98 kB / 0.9005 GB, free: 7.531 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005741/0.8143, allocations: 27.98 kB / 0.9005 GB, free: 7.504 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.447e-05/0.8143, allocations: 28 kB / 0.9006 GB, free: 7.477 MB / 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: 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.000421/0.8148, allocations: 276.6 kB / 0.9008 GB, free: 7.199 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.8149, allocations: 87.42 kB / 0.9009 GB, free: 7.113 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.8151, allocations: 91.66 kB / 0.901 GB, free: 7.016 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.8151, allocations: 4 kB / 0.901 GB, free: 7.012 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/0.8151, allocations: 8 kB / 0.901 GB, free: 7.004 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008324/0.8159, allocations: 0.6871 MB / 0.9017 GB, free: 6.23 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/0.8185, allocations: 1.528 MB / 0.9032 GB, free: 4.602 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.8185, allocations: 4 kB / 0.9032 GB, free: 4.598 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004525/0.8189, allocations: 99.83 kB / 0.9033 GB, free: 4.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.8189, allocations: 8 kB / 0.9033 GB, free: 4.492 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.819, allocations: 15.98 kB / 0.9033 GB, free: 4.477 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.819, allocations: 4 kB / 0.9033 GB, free: 4.473 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.819, allocations: 7.938 kB / 0.9033 GB, free: 4.465 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.8203, allocations: 0.905 MB / 0.9042 GB, free: 3.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/0.8206, allocations: 131.5 kB / 0.9043 GB, free: 3.371 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.8207, allocations: 15.98 kB / 0.9043 GB, free: 3.355 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/0.8212, allocations: 16 kB / 0.9043 GB, free: 3.34 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/0.8212, allocations: 43.91 kB / 0.9044 GB, free: 3.297 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.8213, allocations: 16 kB / 0.9044 GB, free: 3.281 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006801/0.8219, allocations: 0.5146 MB / 0.9049 GB, free: 2.773 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.8219, allocations: 0 / 0.9049 GB, free: 2.773 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007413/0.8227, allocations: 199.9 kB / 0.9051 GB, free: 2.578 MB / 0.67 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.001926/0.8246, allocations: 1.525 MB / 0.9066 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008239/0.8254, allocations: 457.5 kB / 0.907 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.393e-05/0.8255, allocations: 8.062 kB / 0.907 GB, free: 0.5391 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.8258, allocations: 204.1 kB / 0.9072 GB, free: 348 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.8278, allocations: 480.2 kB / 0.9077 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009259/0.8371, allocations: 6.622 MB / 0.9142 GB, free: 8.879 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/0.8376, allocations: 436.9 kB / 0.9146 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007173/0.8383, allocations: 203 kB / 0.9148 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004313/0.8387, allocations: 295.3 kB / 0.915 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of SimCode: time 1.683e-06/0.8387, allocations: 0 / 0.915 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06777/0.9065, allocations: 24.61 MB / 0.9391 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.81, allocations: 2.188 kB / 0.9391 GB, free: 15.82 MB / 0.7169 GB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 16.48412800580263] Failed to read output from testmodel.py, exit status != 0: 12.936247717123479 12.952761745 12.159384603 Calling exit ...