Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.001289/0.001289, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.001347/0.001347, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.467/1.467, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.8456/0.8456, allocations: 133.9 MB / 443.5 MB, free: 13.92 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.MixingVolumeMFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.001988/0.001988, allocations: 68.77 kB / 0.6141 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1647, allocations: 85.86 MB / 0.698 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.6873/0.852, allocations: 213.6 MB / 0.9066 GB, free: 1.578 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01348/0.8655, allocations: 9.877 MB / 0.9162 GB, free: 1.434 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002628/0.8681, allocations: 82.81 kB / 0.9163 GB, free: 1.434 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.8702, allocations: 0.8081 MB / 0.9171 GB, free: 1.422 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00707/0.8773, allocations: 2.899 MB / 0.9199 GB, free: 1.305 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004024/0.8813, allocations: 1.389 MB / 0.9213 GB, free: 1.27 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006501/0.8878, allocations: 4.07 MB / 0.9252 GB, free: 1.254 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/0.89, allocations: 1.121 MB / 0.9263 GB, free: 1.156 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003442/0.8934, allocations: 1.448 MB / 0.9277 GB, free: 1.152 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003732/0.8972, allocations: 1.321 MB / 0.929 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005045/0.8977, allocations: 142.7 kB / 0.9292 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006019/0.9037, allocations: 2.544 MB / 0.9316 GB, free: 0.9648 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009312/0.9046, allocations: 0.6223 MB / 0.9323 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001537/0.9062, allocations: 0.8572 MB / 0.9331 GB, free: 0.668 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006711/0.9129, allocations: 3.034 MB / 0.9361 GB, free: 320 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.9129, allocations: 0 / 0.9361 GB, free: 320 kB / 0.67 GB Notification: Performance of FrontEnd: time 2.786e-06/0.9129, allocations: 4.938 kB / 0.9361 GB, free: 316 kB / 0.67 GB Notification: Performance of Transformations before backend: time 5.084e-05/0.9129, allocations: 0 / 0.9361 GB, free: 316 kB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003936/0.9169, allocations: 1.945 MB / 0.938 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.9169, allocations: 10.14 kB / 0.938 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.077e-05/0.917, allocations: 30.42 kB / 0.938 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002246/0.9172, allocations: 172.4 kB / 0.9382 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003329/0.9205, allocations: 491.9 kB / 0.9386 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/0.923, allocations: 1.141 MB / 0.9397 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.587e-05/0.9231, allocations: 82.36 kB / 0.9398 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/0.9233, allocations: 119.5 kB / 0.9399 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/0.9255, allocations: 1.151 MB / 0.9411 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/0.9255, allocations: 1.844 kB / 0.9411 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.9257, allocations: 47.09 kB / 0.9411 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.526e-05/0.9257, allocations: 44.77 kB / 0.9412 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.9274, allocations: 1.065 MB / 0.9422 GB, free: 14.7 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.007083/0.9344, allocations: 4.193 MB / 0.9463 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.9356, allocations: 0.7811 MB / 0.947 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006382/0.9363, allocations: 451.1 kB / 0.9475 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004417/0.9367, allocations: 290.8 kB / 0.9478 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.347e-05/0.9368, allocations: 47.5 kB / 0.9478 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=83): time 2.976e-06/0.9368, allocations: 0 / 0.9478 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of matching and sorting (n=89): time 0.006753/0.9435, allocations: 2.862 MB / 0.9506 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.9436, allocations: 61.72 kB / 0.9507 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.9449, allocations: 0.975 MB / 0.9516 GB, free: 9.902 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.9451, allocations: 54.7 kB / 0.9517 GB, free: 9.852 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004657/0.9455, allocations: 0.5469 MB / 0.9522 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003627/0.9459, allocations: 333.1 kB / 0.9525 GB, free: 9.086 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002862/0.9462, allocations: 158.4 kB / 0.9527 GB, free: 8.996 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.9464, allocations: 342.9 kB / 0.953 GB, free: 8.664 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005328/0.9469, allocations: 338.8 kB / 0.9533 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006901/0.9476, allocations: 496.9 kB / 0.9538 GB, free: 8.172 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 (bou.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006093/0.9537, allocations: 3.022 MB / 0.9567 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.9537, allocations: 6.562 kB / 0.9567 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001753/0.9555, allocations: 1.009 MB / 0.9577 GB, free: 6.008 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.9555, allocations: 5.312 kB / 0.9577 GB, free: 6.008 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.9555, allocations: 6.125 kB / 0.9577 GB, free: 6.008 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.9555, allocations: 5.469 kB / 0.9577 GB, free: 6.008 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007213/0.9562, allocations: 182.8 kB / 0.9579 GB, free: 5.984 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.9562, allocations: 8.359 kB / 0.9579 GB, free: 5.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.9574, allocations: 28.09 kB / 0.958 GB, free: 5.965 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/0.9575, allocations: 37.55 kB / 0.958 GB, free: 5.953 MB / 0.6856 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0007168/0.9582, allocations: 382.5 kB / 0.9584 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/0.9585, allocations: 134.2 kB / 0.9585 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003454/0.9588, allocations: 147 kB / 0.9586 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.9588, allocations: 11.19 kB / 0.9586 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.508e-05/0.9589, allocations: 6.531 kB / 0.9586 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001592/0.9605, allocations: 1.089 MB / 0.9597 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005267/0.9657, allocations: 3.042 MB / 0.9627 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.9657, allocations: 12.92 kB / 0.9627 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007608/0.9665, allocations: 172.5 kB / 0.9629 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000381/0.9669, allocations: 105.6 kB / 0.963 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-05/0.967, allocations: 28 kB / 0.963 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00304/0.97, allocations: 3.085 MB / 0.966 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/0.97, allocations: 15.03 kB / 0.966 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003105/0.9731, allocations: 1.801 MB / 0.9678 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008264/0.9739, allocations: 320.1 kB / 0.9681 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.9741, allocations: 31.98 kB / 0.9681 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009493/0.975, allocations: 42.73 kB / 0.9681 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.9752, allocations: 82.52 kB / 0.9682 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.36e-05/0.9753, allocations: 51.97 kB / 0.9683 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001021/0.9763, allocations: 0.6956 MB / 0.9689 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.9763, allocations: 4 kB / 0.969 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001339/0.9776, allocations: 375 kB / 0.9693 GB, free: 10.89 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003307/0.981, allocations: 2.46 MB / 0.9717 GB, free: 8.309 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001472/0.9824, allocations: 0.816 MB / 0.9725 GB, free: 7.523 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.9824, allocations: 0 / 0.9725 GB, free: 7.523 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009796/0.9834, allocations: 0.6459 MB / 0.9731 GB, free: 6.887 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004265/0.9877, allocations: 0.9265 MB / 0.974 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/1.002, allocations: 9.703 MB / 0.9835 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/1.004, allocations: 1.249 MB / 0.9847 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001301/1.005, allocations: 335 kB / 0.9851 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007076/1.006, allocations: 475.3 kB / 0.9855 GB, free: 9.863 MB / 0.7169 GB Notification: Performance of SimCode: time 1.062e-06/1.006, allocations: 3.938 kB / 0.9855 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08075/1.086, allocations: 38.74 MB / 1.023 GB, free: 3.695 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.55, allocations: 21.61 kB / 1.023 GB, free: 3.68 MB / 0.7481 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.42705565103097] Failed to read output from testmodel.py, exit status != 0: 13.978618211986031 13.740982533 12.824744013 Calling exit ...