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.001516/0.001516, allocations: 102.6 kB / 16.45 MB, free: 6.449 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.001955/0.001955, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.419/1.419, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.8366/0.8366, allocations: 134 MB / 442.8 MB, free: 11.32 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.001855/0.001855, allocations: 68.53 kB / 0.6134 GB, free: 8.738 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1806, allocations: 85.85 MB / 0.6973 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5855/0.7661, allocations: 190.8 MB / 0.8837 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01695/0.783, allocations: 13.14 MB / 0.8965 GB, free: 12.34 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.7844, allocations: 43.62 kB / 0.8965 GB, free: 12.3 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.7859, allocations: 437.1 kB / 0.897 GB, free: 11.87 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003084/0.789, allocations: 1.206 MB / 0.8981 GB, free: 10.66 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.791, allocations: 0.7092 MB / 0.8988 GB, free: 9.957 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002759/0.7937, allocations: 2.005 MB / 0.9008 GB, free: 7.938 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.7948, allocations: 0.6912 MB / 0.9015 GB, free: 7.223 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004276/0.7991, allocations: 1.895 MB / 0.9033 GB, free: 5.32 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001822/0.8009, allocations: 0.7035 MB / 0.904 GB, free: 4.621 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.8011, allocations: 80 kB / 0.9041 GB, free: 4.543 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.803, allocations: 0.9314 MB / 0.905 GB, free: 3.609 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000443/0.8034, allocations: 398.8 kB / 0.9054 GB, free: 3.219 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006354/0.8041, allocations: 0.4976 MB / 0.9058 GB, free: 2.719 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002383/0.8065, allocations: 1.502 MB / 0.9073 GB, free: 1.211 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.8065, allocations: 7.984 kB / 0.9073 GB, free: 1.203 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8065, allocations: 0 / 0.9073 GB, free: 1.203 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.688e-05/0.8065, allocations: 0 / 0.9073 GB, free: 1.203 MB / 0.67 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.002068/0.8086, allocations: 1.265 MB / 0.9086 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.8086, allocations: 9.109 kB / 0.9086 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001614/0.8088, allocations: 126.5 kB / 0.9087 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.81, allocations: 215.1 kB / 0.9089 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.8112, allocations: 0.6876 MB / 0.9096 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.842e-05/0.8112, allocations: 58 kB / 0.9096 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.8113, allocations: 76 kB / 0.9097 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.8128, allocations: 0.9365 MB / 0.9106 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.8128, allocations: 7.938 kB / 0.9106 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.676e-05/0.8129, allocations: 32 kB / 0.9106 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-05/0.8129, allocations: 33.31 kB / 0.9107 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.814, allocations: 0.606 MB / 0.9113 GB, free: 12.98 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.005413/0.8194, allocations: 4.59 MB / 0.9157 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000813/0.8202, allocations: 0.5118 MB / 0.9162 GB, free: 7.539 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004218/0.8207, allocations: 224.9 kB / 0.9165 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002055/0.8209, allocations: 101.1 kB / 0.9166 GB, free: 7.195 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/0.8209, allocations: 54.41 kB / 0.9166 GB, free: 7.133 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 3.136e-06/0.8209, allocations: 4 kB / 0.9166 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45): time 0.003166/0.8241, allocations: 1.602 MB / 0.9182 GB, free: 5.473 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.753e-05/0.8242, allocations: 114.8 kB / 0.9183 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00092/0.8251, allocations: 0.7194 MB / 0.919 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.8251, allocations: 33.95 kB / 0.919 GB, free: 4.566 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003341/0.8255, allocations: 424.6 kB / 0.9194 GB, free: 4.148 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.8256, allocations: 166.6 kB / 0.9196 GB, free: 3.984 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.8258, allocations: 118.3 kB / 0.9197 GB, free: 3.863 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.8259, allocations: 330 kB / 0.92 GB, free: 3.535 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.8263, allocations: 185.2 kB / 0.9202 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000504/0.8268, allocations: 417 kB / 0.9206 GB, free: 2.852 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.002418/0.8292, allocations: 1.169 MB / 0.9217 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.8292, allocations: 0 / 0.9217 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001163/0.8303, allocations: 0.6758 MB / 0.9224 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.8304, allocations: 8 kB / 0.9224 GB, free: 0.8867 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.8304, allocations: 7.938 kB / 0.9224 GB, free: 0.8789 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.8304, allocations: 12 kB / 0.9224 GB, free: 0.8672 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000499/0.8309, allocations: 127.8 kB / 0.9225 GB, free: 0.7422 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.181e-05/0.8309, allocations: 15.94 kB / 0.9226 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000632/0.8316, allocations: 36.41 kB / 0.9226 GB, free: 0.6914 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.709e-05/0.8316, allocations: 27.94 kB / 0.9226 GB, free: 0.6641 MB / 0.6856 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.0004623/0.8321, allocations: 271.1 kB / 0.9229 GB, free: 400 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.8323, allocations: 87.42 kB / 0.923 GB, free: 312 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.8325, allocations: 95.66 kB / 0.9231 GB, free: 212 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.8325, allocations: 4 kB / 0.9231 GB, free: 208 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.8325, allocations: 0 / 0.9231 GB, free: 208 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008174/0.8333, allocations: 0.6949 MB / 0.9237 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00272/0.836, allocations: 1.65 MB / 0.9253 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.836, allocations: 4 kB / 0.9253 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004788/0.8365, allocations: 102.8 kB / 0.9254 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.8365, allocations: 8 kB / 0.9255 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.8365, allocations: 16 kB / 0.9255 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/0.8366, allocations: 15.92 kB / 0.9255 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.8366, allocations: 4 kB / 0.9255 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.8379, allocations: 0.8934 MB / 0.9264 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/0.8382, allocations: 200.6 kB / 0.9266 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-05/0.8383, allocations: 19.98 kB / 0.9266 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004443/0.8388, allocations: 12 kB / 0.9266 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.8388, allocations: 43.83 kB / 0.9266 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.8389, allocations: 20 kB / 0.9266 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007258/0.8396, allocations: 0.5107 MB / 0.9271 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.8396, allocations: 4 kB / 0.9271 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007867/0.8404, allocations: 199.9 kB / 0.9273 GB, free: 11.55 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.001929/0.8423, allocations: 1.521 MB / 0.9288 GB, free: 9.973 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009622/0.8433, allocations: 461.8 kB / 0.9293 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.8433, allocations: 3.938 kB / 0.9293 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.8436, allocations: 204.2 kB / 0.9295 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.8458, allocations: 488.1 kB / 0.9299 GB, free: 8.863 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009562/0.8554, allocations: 6.628 MB / 0.9364 GB, free: 1.84 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007185/0.8561, allocations: 1.02 MB / 0.9374 GB, free: 0.793 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006939/0.8568, allocations: 199 kB / 0.9376 GB, free: 0.5938 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004354/0.8572, allocations: 299.3 kB / 0.9379 GB, free: 308 kB / 0.7012 GB Notification: Performance of SimCode: time 1.082e-06/0.8572, allocations: 0 / 0.9379 GB, free: 308 kB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05587/0.9131, allocations: 22.3 MB / 0.9596 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.143/10.06, allocations: 0 / 0.9596 GB, free: 10.39 MB / 0.7325 GB " [Timeout remaining time 650] (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: 13.781401415006258] Failed to read output from testmodel.py, exit status != 0: 10.140138058995944 10.165367653 9.354211014 Calling exit ...