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.00127/0.00127, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001416/0.001416, allocations: 214.5 kB / 23.02 MB, free: 4.949 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.8317/0.8317, allocations: 134 MB / 447.2 MB, free: 9.914 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.001866/0.001866, allocations: 66.38 kB / 0.6193 GB, free: 6.855 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.176, allocations: 85.92 MB / 0.7032 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.588/0.764, allocations: 185.7 MB / 0.8845 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01668/0.7807, allocations: 9.234 MB / 0.8935 GB, free: 156 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002354/0.7831, allocations: 79.31 kB / 0.8936 GB, free: 76 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002706/0.7858, allocations: 0.7533 MB / 0.8943 GB, free: 15.31 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00914/0.7949, allocations: 2.914 MB / 0.8971 GB, free: 12.39 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004416/0.7993, allocations: 1.431 MB / 0.8985 GB, free: 10.97 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006634/0.806, allocations: 4.192 MB / 0.9026 GB, free: 6.766 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002353/0.8083, allocations: 1.001 MB / 0.9036 GB, free: 5.734 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003462/0.8118, allocations: 1.463 MB / 0.905 GB, free: 4.266 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003577/0.8154, allocations: 1.314 MB / 0.9063 GB, free: 2.957 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005677/0.8159, allocations: 144 kB / 0.9065 GB, free: 2.816 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005067/0.821, allocations: 1.994 MB / 0.9084 GB, free: 0.8164 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.8221, allocations: 0.6309 MB / 0.909 GB, free: 188 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001934/0.824, allocations: 0.7158 MB / 0.9097 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006386/0.8304, allocations: 2.963 MB / 0.9126 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.8304, allocations: 3.938 kB / 0.9126 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8304, allocations: 7.938 kB / 0.9126 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.341e-05/0.8305, allocations: 0 / 0.9126 GB, free: 12.48 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004381/0.8349, allocations: 1.862 MB / 0.9144 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.835, allocations: 12.03 kB / 0.9145 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.139e-05/0.835, allocations: 26.14 kB / 0.9145 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002378/0.8352, allocations: 176.8 kB / 0.9147 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003344/0.8386, allocations: 490.5 kB / 0.9151 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.8407, allocations: 1.06 MB / 0.9162 GB, free: 8.77 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.483e-05/0.8408, allocations: 86.14 kB / 0.9162 GB, free: 8.684 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.841, allocations: 119.9 kB / 0.9164 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002355/0.8433, allocations: 1.607 MB / 0.9179 GB, free: 6.82 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.8434, allocations: 0 / 0.9179 GB, free: 6.82 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.8435, allocations: 40 kB / 0.918 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-05/0.8435, allocations: 46.14 kB / 0.918 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.8453, allocations: 1.07 MB / 0.919 GB, free: 5.656 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.005604/0.8509, allocations: 2.885 MB / 0.9219 GB, free: 2.719 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.8521, allocations: 0.781 MB / 0.9226 GB, free: 1.926 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006556/0.8527, allocations: 450.2 kB / 0.9231 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/0.8531, allocations: 64.95 kB / 0.9231 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.8531, allocations: 44.69 kB / 0.9232 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=83): time 2.976e-06/0.8531, allocations: 0 / 0.9232 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of matching and sorting (n=89): time 0.005805/0.8589, allocations: 2.628 MB / 0.9257 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.859, allocations: 64.41 kB / 0.9258 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.8604, allocations: 0.9755 MB / 0.9267 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.873e-05/0.8604, allocations: 41.7 kB / 0.9268 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000594/0.861, allocations: 0.5521 MB / 0.9273 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003332/0.8614, allocations: 333 kB / 0.9276 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002686/0.8616, allocations: 158.6 kB / 0.9278 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.8618, allocations: 345.9 kB / 0.9281 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/0.8624, allocations: 333.8 kB / 0.9284 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008086/0.8632, allocations: 0.6748 MB / 0.9291 GB, free: 11.11 MB / 0.7012 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.006103/0.8693, allocations: 2.794 MB / 0.9318 GB, free: 8.289 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.8693, allocations: 0 / 0.9318 GB, free: 8.289 MB / 0.7012 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001787/0.8711, allocations: 1.008 MB / 0.9328 GB, free: 7.273 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.8711, allocations: 11.98 kB / 0.9328 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.8711, allocations: 0.875 kB / 0.9328 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.8711, allocations: 12.31 kB / 0.9328 GB, free: 7.25 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007392/0.8719, allocations: 183.8 kB / 0.933 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/0.8719, allocations: 11.94 kB / 0.933 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.8729, allocations: 24.7 kB / 0.933 GB, free: 7.035 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-05/0.873, allocations: 39.98 kB / 0.9331 GB, free: 6.996 MB / 0.7012 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.0007014/0.8737, allocations: 385.4 kB / 0.9335 GB, free: 6.609 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.8739, allocations: 131.2 kB / 0.9336 GB, free: 6.48 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/0.8742, allocations: 144.3 kB / 0.9337 GB, free: 6.332 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.8742, allocations: 12 kB / 0.9337 GB, free: 6.32 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/0.8742, allocations: 4 kB / 0.9337 GB, free: 6.316 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001625/0.8759, allocations: 1.094 MB / 0.9348 GB, free: 5.148 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00472/0.8806, allocations: 2.801 MB / 0.9375 GB, free: 2.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/0.8806, allocations: 8 kB / 0.9375 GB, free: 2.172 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007321/0.8813, allocations: 163.8 kB / 0.9377 GB, free: 2.012 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003558/0.8817, allocations: 106.3 kB / 0.9378 GB, free: 1.902 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.7e-05/0.8818, allocations: 31.98 kB / 0.9378 GB, free: 1.871 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002659/0.8844, allocations: 2.869 MB / 0.9406 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/0.8844, allocations: 16.06 kB / 0.9406 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002692/0.8871, allocations: 1.804 MB / 0.9424 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006329/0.8878, allocations: 231.1 kB / 0.9426 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.8879, allocations: 36.11 kB / 0.9427 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008828/0.8888, allocations: 45.67 kB / 0.9427 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.8889, allocations: 84.22 kB / 0.9428 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.519e-05/0.889, allocations: 51.97 kB / 0.9428 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009785/0.89, allocations: 0.6956 MB / 0.9435 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.89, allocations: 0 / 0.9435 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001126/0.8911, allocations: 372 kB / 0.9439 GB, free: 11.31 MB / 0.7169 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.003186/0.8943, allocations: 2.46 MB / 0.9463 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001436/0.8958, allocations: 0.8164 MB / 0.9471 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.8958, allocations: 4 kB / 0.9471 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000952/0.8967, allocations: 0.6503 MB / 0.9477 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003932/0.9007, allocations: 0.9185 MB / 0.9486 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/0.9143, allocations: 9.709 MB / 0.9581 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007709/0.915, allocations: 0.6569 MB / 0.9587 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00126/0.9163, allocations: 339 kB / 0.9591 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006853/0.917, allocations: 475.3 kB / 0.9595 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of SimCode: time 1.072e-06/0.917, allocations: 4 kB / 0.9595 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08226/0.9992, allocations: 42.28 MB / 1.001 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.96, allocations: 12 kB / 1.001 GB, free: 1.098 MB / 0.7637 GB " [Timeout remaining time 645] (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: 18.696144878980704] Failed to read output from testmodel.py, exit status != 0: 15.138507095049135 15.15452605 14.320843374 Calling exit ...