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.0008563/0.0008563, 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.0009457/0.0009457, allocations: 165.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.8965/0.8965, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.7059/0.7059, allocations: 154.6 MB / 413.8 MB, free: 0.8203 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.252e-06/1.252e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137e-05/1.262e-05, allocations: 8.375 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4195/0.4195, allocations: 150.7 MB / 0.7652 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004528/0.424, allocations: 3.205 MB / 0.7683 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007841/0.4248, allocations: 29.22 kB / 0.7684 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007997/0.4256, allocations: 304.4 kB / 0.7687 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002503/0.4281, allocations: 1.092 MB / 0.7697 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.4296, allocations: 0.706 MB / 0.7704 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002075/0.4317, allocations: 1.572 MB / 0.772 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006786/0.4324, allocations: 376.1 kB / 0.7723 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001608/0.434, allocations: 0.9106 MB / 0.7732 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.4351, allocations: 444.8 kB / 0.7736 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.4352, allocations: 53.78 kB / 0.7737 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.4366, allocations: 0.695 MB / 0.7744 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000271/0.4369, allocations: 262.3 kB / 0.7746 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002876/0.4372, allocations: 242.4 kB / 0.7748 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.4389, allocations: 1.161 MB / 0.776 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4389, allocations: 1.375 kB / 0.776 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4389, allocations: 0 / 0.776 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.439, allocations: 0 / 0.776 GB, free: 0.6797 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.001164/0.4401, allocations: 0.8548 MB / 0.7768 GB, free: 80 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.4402, allocations: 9.719 kB / 0.7768 GB, free: 80 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.306e-05/0.4402, allocations: 84.55 kB / 0.7769 GB, free: 12 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007535/0.441, allocations: 180.5 kB / 0.7771 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006523/0.4416, allocations: 460.8 kB / 0.7775 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.4417, allocations: 30.66 kB / 0.7775 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.983e-05/0.4417, allocations: 51.39 kB / 0.7776 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006917/0.4424, allocations: 0.7193 MB / 0.7783 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.4424, allocations: 0 / 0.7783 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/0.4425, allocations: 24.52 kB / 0.7783 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.4425, allocations: 15.81 kB / 0.7783 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004812/0.443, allocations: 408.6 kB / 0.7787 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.4447, allocations: 1.227 MB / 0.7799 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.445, allocations: 291 kB / 0.7802 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.4452, allocations: 168.3 kB / 0.7804 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.4453, allocations: 16.25 kB / 0.7804 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.4454, allocations: 42.19 kB / 0.7804 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=31): time 2.495e-06/0.4454, allocations: 0 / 0.7804 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.001694/0.4471, allocations: 0.9987 MB / 0.7814 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.4471, allocations: 54.84 kB / 0.7814 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004394/0.4475, allocations: 459.5 kB / 0.7819 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.4476, allocations: 32.83 kB / 0.7819 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.4477, allocations: 255.5 kB / 0.7821 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.63e-05/0.4478, allocations: 120.1 kB / 0.7823 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.677e-05/0.4479, allocations: 72.92 kB / 0.7823 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.448, allocations: 351.6 kB / 0.7827 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.4482, allocations: 136.5 kB / 0.7828 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.4484, allocations: 244.6 kB / 0.783 GB, free: 12.34 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.001255/0.4496, allocations: 0.7883 MB / 0.7838 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4496, allocations: 0.9688 kB / 0.7838 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005003/0.4501, allocations: 417.1 kB / 0.7842 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.4502, allocations: 10.12 kB / 0.7842 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4502, allocations: 1.344 kB / 0.7842 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.4502, allocations: 3.844 kB / 0.7842 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.4504, allocations: 70.58 kB / 0.7843 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.4504, allocations: 5.828 kB / 0.7843 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.4506, allocations: 20.55 kB / 0.7843 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.4507, allocations: 13.3 kB / 0.7843 GB, free: 11.82 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.0002428/0.4509, allocations: 214.3 kB / 0.7845 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.005e-05/0.451, allocations: 52.72 kB / 0.7846 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.839e-05/0.4511, allocations: 61.92 kB / 0.7846 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4511, allocations: 3.312 kB / 0.7846 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.4511, allocations: 1.062 kB / 0.7846 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003623/0.4515, allocations: 405.3 kB / 0.785 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.4528, allocations: 1.147 MB / 0.7861 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4528, allocations: 4.125 kB / 0.7861 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.4529, allocations: 69.38 kB / 0.7862 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.453, allocations: 9.75 kB / 0.7862 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.453, allocations: 10.09 kB / 0.7862 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/0.453, allocations: 12.83 kB / 0.7862 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.453, allocations: 4.438 kB / 0.7862 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006057/0.4536, allocations: 0.7008 MB / 0.7869 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.4537, allocations: 97.92 kB / 0.787 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.4538, allocations: 17.25 kB / 0.787 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.454, allocations: 18.69 kB / 0.7871 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.454, allocations: 31.16 kB / 0.7871 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.4541, allocations: 25.64 kB / 0.7871 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002605/0.4543, allocations: 326 kB / 0.7874 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9e-08/0.4543, allocations: 64 / 0.7874 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004441/0.4548, allocations: 145.9 kB / 0.7876 GB, free: 9.922 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.000928/0.4557, allocations: 1.286 MB / 0.7888 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003787/0.4561, allocations: 310.1 kB / 0.7891 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4561, allocations: 0 / 0.7891 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.4562, allocations: 156 kB / 0.7893 GB, free: 8.766 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009642/0.4572, allocations: 368.1 kB / 0.7896 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/0.4612, allocations: 4.364 MB / 0.7939 GB, free: 6.027 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.4614, allocations: 284.5 kB / 0.7942 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004388/0.4618, allocations: 129.3 kB / 0.7943 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.462, allocations: 168.4 kB / 0.7944 GB, free: 5.77 MB / 0.6511 GB Notification: Performance of SimCode: time 1.493e-06/0.462, allocations: 0 / 0.7944 GB, free: 5.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03121/0.4932, allocations: 17.42 MB / 0.8114 GB, free: 13.58 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.256/7.75, allocations: 10.28 kB / 0.8115 GB, free: 13.57 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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.410835300572217] Failed to read output from testmodel.py, exit status != 0: 7.83811024390161 7.852109074 7.41005838 Calling exit ...