Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 112.6 kB / 16.41 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 195.7 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.027/1.027, allocations: 173.4 MB / 470.7 MB, free: 13.6 MB / 382.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 59.52 kB / 0.6478 GB, free: 11.74 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.177, allocations: 89.53 MB / 0.7353 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.5937/0.7707, allocations: 210 MB / 0.9403 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01582/0.7866, allocations: 9.887 MB / 0.95 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/0.7886, allocations: 63.62 kB / 0.9501 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002139/0.7907, allocations: 0.7609 MB / 0.9508 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007353/0.7981, allocations: 2.808 MB / 0.9535 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003755/0.8019, allocations: 1.39 MB / 0.9549 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00588/0.8078, allocations: 4.068 MB / 0.9589 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/0.8098, allocations: 1.321 MB / 0.9602 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003695/0.8135, allocations: 1.759 MB / 0.9619 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002536/0.8161, allocations: 1.214 MB / 0.9631 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000268/0.8164, allocations: 144 kB / 0.9632 GB, free: 7.984 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00519/0.8216, allocations: 2.354 MB / 0.9655 GB, free: 5.625 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0007631/0.8224, allocations: 0.6078 MB / 0.9661 GB, free: 5.016 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.8237, allocations: 0.8634 MB / 0.9669 GB, free: 4.148 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005199/0.8289, allocations: 3.014 MB / 0.9699 GB, free: 1.125 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.8289, allocations: 3.984 kB / 0.9699 GB, free: 1.121 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8289, allocations: 0 / 0.9699 GB, free: 1.121 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.04e-05/0.829, allocations: 0 / 0.9699 GB, free: 1.121 MB / 0.7481 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.003033/0.832, allocations: 1.943 MB / 0.9718 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.832, allocations: 12.03 kB / 0.9718 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002044/0.8323, allocations: 168.8 kB / 0.972 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002973/0.8352, allocations: 494.5 kB / 0.9724 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/0.837, allocations: 1.148 MB / 0.9735 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.405e-05/0.8371, allocations: 86.14 kB / 0.9736 GB, free: 13.17 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.8373, allocations: 108 kB / 0.9737 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.8391, allocations: 1.153 MB / 0.9749 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.8391, allocations: 7.875 kB / 0.9749 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.8393, allocations: 51.98 kB / 0.9749 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.235e-05/0.8393, allocations: 38.14 kB / 0.975 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.841, allocations: 1.074 MB / 0.976 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005682/0.8467, allocations: 4.437 MB / 0.9803 GB, free: 5.926 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.8479, allocations: 0.7912 MB / 0.9811 GB, free: 5.133 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006631/0.8485, allocations: 482.7 kB / 0.9816 GB, free: 4.66 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003846/0.8489, allocations: 292.3 kB / 0.9818 GB, free: 4.316 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.849, allocations: 43.56 kB / 0.9819 GB, free: 4.266 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=83): time 4.138e-06/0.849, allocations: 0 / 0.9819 GB, free: 4.266 MB / 0.7637 GB Notification: Performance of matching and sorting (n=89): time 0.005274/0.8543, allocations: 2.876 MB / 0.9847 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.8543, allocations: 68.34 kB / 0.9848 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.8555, allocations: 0.9677 MB / 0.9857 GB, free: 248 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.013e-05/0.8556, allocations: 45.7 kB / 0.9857 GB, free: 196 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004387/0.856, allocations: 0.5444 MB / 0.9863 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/0.8563, allocations: 333 kB / 0.9866 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002402/0.8565, allocations: 158.6 kB / 0.9868 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.8567, allocations: 341.9 kB / 0.9871 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005246/0.8572, allocations: 341.8 kB / 0.9874 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006378/0.8579, allocations: 481.9 kB / 0.9879 GB, free: 13.97 MB / 0.7794 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.005885/0.8638, allocations: 3.045 MB / 0.9908 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8638, allocations: 0 / 0.9908 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00158/0.8654, allocations: 1.02 MB / 0.9918 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.8654, allocations: 8 kB / 0.9918 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.8654, allocations: 4.375 kB / 0.9918 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.8654, allocations: 12 kB / 0.9919 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006957/0.8661, allocations: 179.7 kB / 0.992 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.8661, allocations: 8 kB / 0.992 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008975/0.867, allocations: 27.98 kB / 0.9921 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.838e-05/0.8671, allocations: 36 kB / 0.9921 GB, free: 9.543 MB / 0.7794 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.0005885/0.8677, allocations: 385 kB / 0.9925 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.8679, allocations: 131.2 kB / 0.9926 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.8682, allocations: 148.3 kB / 0.9927 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.8682, allocations: 12 kB / 0.9927 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.8682, allocations: 4 kB / 0.9927 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001509/0.8698, allocations: 1.094 MB / 0.9938 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004499/0.8743, allocations: 3.051 MB / 0.9968 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.8743, allocations: 8.969 kB / 0.9968 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006667/0.875, allocations: 163.7 kB / 0.997 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003321/0.8753, allocations: 105.6 kB / 0.9971 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/0.8754, allocations: 28 kB / 0.9971 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002624/0.878, allocations: 3.086 MB / 1 GB, free: 0.8008 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/0.878, allocations: 15.94 kB / 1 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/0.8806, allocations: 1.746 MB / 1.002 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005943/0.8812, allocations: 320.1 kB / 1.002 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.8813, allocations: 24 kB / 1.002 GB, free: 14.55 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008371/0.8822, allocations: 43.91 kB / 1.002 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.8823, allocations: 88.11 kB / 1.002 GB, free: 14.42 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.212e-05/0.8824, allocations: 43.98 kB / 1.002 GB, free: 14.38 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009351/0.8834, allocations: 0.6956 MB / 1.003 GB, free: 13.67 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8834, allocations: 8 kB / 1.003 GB, free: 13.66 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001081/0.8845, allocations: 368 kB / 1.003 GB, free: 13.3 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * 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.003105/0.8876, allocations: 2.43 MB / 1.006 GB, free: 10.74 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001421/0.889, allocations: 0.8481 MB / 1.007 GB, free: 9.891 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.889, allocations: 0 / 1.007 GB, free: 9.891 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0009661/0.89, allocations: 0.669 MB / 1.007 GB, free: 9.195 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003927/0.8939, allocations: 0.9287 MB / 1.008 GB, free: 8.281 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/0.9074, allocations: 9.711 MB / 1.018 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009595/0.9084, allocations: 1.253 MB / 1.019 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001239/0.9097, allocations: 347 kB / 1.019 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00065/0.9104, allocations: 471.3 kB / 1.02 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of SimCode: time 8.32e-07/0.9104, allocations: 0 / 1.02 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08067/0.991, allocations: 38.4 MB / 1.057 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.79, allocations: 16.03 kB / 1.057 GB, free: 6.117 MB / 0.8419 GB " [Timeout remaining time 647] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.44955613091588] Failed to read output from testmodel.py, exit status != 0: 12.892754127038643 12.906839935 12.075330684 Calling exit ...