Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.0008751/0.0008751, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009003/0.0009003, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8651/0.8651, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.6834/0.6834, allocations: 154.6 MB / 413.8 MB, free: 0.7852 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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.MixingVolumeMassFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.885e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4026/0.4027, allocations: 150.6 MB / 0.7652 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003408/0.4061, allocations: 3.218 MB / 0.7684 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003096/0.4064, allocations: 34.38 kB / 0.7684 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006811/0.4071, allocations: 299.7 kB / 0.7687 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001493/0.4085, allocations: 1.079 MB / 0.7697 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.4096, allocations: 0.7173 MB / 0.7704 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001217/0.4108, allocations: 1.568 MB / 0.772 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004566/0.4112, allocations: 376.5 kB / 0.7723 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.4122, allocations: 0.9147 MB / 0.7732 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006841/0.4129, allocations: 444.1 kB / 0.7736 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.21e-05/0.413, allocations: 54 kB / 0.7737 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.414, allocations: 0.6987 MB / 0.7744 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002251/0.4142, allocations: 256.8 kB / 0.7746 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.4144, allocations: 247.4 kB / 0.7748 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.4155, allocations: 1.151 MB / 0.776 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4155, allocations: 5.156 kB / 0.776 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4155, allocations: 0.75 kB / 0.776 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.4155, allocations: 0 / 0.776 GB, free: 0.6289 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0008569/0.4164, allocations: 0.85 MB / 0.7768 GB, free: 32 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.4164, allocations: 10.31 kB / 0.7768 GB, free: 32 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.779e-05/0.4165, allocations: 91.77 kB / 0.7769 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006359/0.4171, allocations: 176.6 kB / 0.7771 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005483/0.4177, allocations: 458.1 kB / 0.7775 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.4177, allocations: 34 kB / 0.7775 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.092e-05/0.4178, allocations: 60.88 kB / 0.7776 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005779/0.4184, allocations: 0.7142 MB / 0.7783 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.4184, allocations: 3.938 kB / 0.7783 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.4184, allocations: 16.62 kB / 0.7783 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.4184, allocations: 15 kB / 0.7783 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004391/0.4189, allocations: 412.3 kB / 0.7787 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.4203, allocations: 1.23 MB / 0.7799 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.4206, allocations: 274 kB / 0.7802 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.4208, allocations: 186 kB / 0.7804 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.514e-05/0.4209, allocations: 23.17 kB / 0.7804 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.4209, allocations: 38.69 kB / 0.7804 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=31): time 1.322e-06/0.4209, allocations: 0 / 0.7804 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.001261/0.4221, allocations: 0.9919 MB / 0.7814 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.4222, allocations: 55.31 kB / 0.7814 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.4225, allocations: 459.3 kB / 0.7819 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.4225, allocations: 37.89 kB / 0.7819 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.4227, allocations: 250.9 kB / 0.7822 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.585e-05/0.4227, allocations: 121 kB / 0.7823 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.32e-05/0.4228, allocations: 71.69 kB / 0.7823 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.092e-05/0.4229, allocations: 357.1 kB / 0.7827 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.423, allocations: 125.3 kB / 0.7828 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.4232, allocations: 243.4 kB / 0.783 GB, free: 12.3 MB / 0.6511 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.4243, allocations: 0.7921 MB / 0.7838 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4243, allocations: 1.125 kB / 0.7838 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003994/0.4247, allocations: 411.8 kB / 0.7842 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.4248, allocations: 11.27 kB / 0.7842 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4248, allocations: 2.625 kB / 0.7842 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.4248, allocations: 6.469 kB / 0.7842 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.4249, allocations: 75.36 kB / 0.7843 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.4249, allocations: 3.312 kB / 0.7843 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.4251, allocations: 15.16 kB / 0.7843 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.4251, allocations: 17.75 kB / 0.7843 GB, free: 11.77 MB / 0.6511 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: 7 * 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 (42): * Single equations (assignments): 42 * 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.0001575/0.4253, allocations: 209.5 kB / 0.7845 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.4253, allocations: 48.97 kB / 0.7846 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.739e-05/0.4254, allocations: 67.5 kB / 0.7846 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.4254, allocations: 3.5 kB / 0.7846 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4254, allocations: 0 / 0.7846 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000314/0.4257, allocations: 415.5 kB / 0.785 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.4268, allocations: 1.139 MB / 0.7861 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4268, allocations: 7.406 kB / 0.7862 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.427, allocations: 74.28 kB / 0.7862 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.427, allocations: 6.219 kB / 0.7862 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.427, allocations: 16.64 kB / 0.7862 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.427, allocations: 9.719 kB / 0.7863 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.427, allocations: 4.062 kB / 0.7863 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000658/0.4277, allocations: 0.7023 MB / 0.7869 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.4278, allocations: 96.23 kB / 0.787 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.4279, allocations: 16.77 kB / 0.7871 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.4281, allocations: 16.25 kB / 0.7871 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.4281, allocations: 36.34 kB / 0.7871 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.4281, allocations: 21.61 kB / 0.7871 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002351/0.4284, allocations: 331 kB / 0.7874 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-08/0.4284, allocations: 0 / 0.7874 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003497/0.4287, allocations: 141.8 kB / 0.7876 GB, free: 9.867 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (33): * Single equations (assignments): 33 * 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.0008699/0.4296, allocations: 1.278 MB / 0.7888 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003403/0.4299, allocations: 316 kB / 0.7891 GB, free: 8.762 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4299, allocations: 1.406 kB / 0.7891 GB, free: 8.762 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.43, allocations: 154.6 kB / 0.7893 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009104/0.431, allocations: 359.5 kB / 0.7896 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003646/0.4346, allocations: 4.368 MB / 0.7939 GB, free: 5.973 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/0.4348, allocations: 285.2 kB / 0.7942 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002926/0.4351, allocations: 128.9 kB / 0.7943 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.4352, allocations: 171 kB / 0.7944 GB, free: 5.715 MB / 0.6511 GB Notification: Performance of SimCode: time 7.32e-07/0.4352, allocations: 0 / 0.7944 GB, free: 5.715 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.4602, allocations: 17.41 MB / 0.8114 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.151/7.611, allocations: 17.39 kB / 0.8115 GB, free: 13.48 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.308023002929986] Failed to read output from testmodel.py, exit status != 0: 7.699675866402686 7.708093769 7.290860662 Calling exit ...