Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008552/0.0008552, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001671/0.001671, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 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.9464/0.9464, allocations: 230.6 MB / 256 MB, free: 9.805 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8086/0.8086, allocations: 203.8 MB / 0.5042 GB, free: 10.67 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",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.0009473/0.0009473, allocations: 63.25 kB / 0.7182 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4527/0.4537, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1606/0.6142, allocations: 174.5 MB / 0.9883 GB, free: 6.867 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004965/0.6192, allocations: 3.427 MB / 0.9916 GB, free: 3.438 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008723/0.62, allocations: 31.75 kB / 0.9917 GB, free: 3.406 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0008352/0.6209, allocations: 334 kB / 0.992 GB, free: 3.078 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.6229, allocations: 1.074 MB / 0.993 GB, free: 2 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.6245, allocations: 0.7024 MB / 0.9937 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001638/0.6262, allocations: 1.571 MB / 0.9952 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004831/0.6266, allocations: 380.2 kB / 0.9956 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.6277, allocations: 0.7356 MB / 0.9963 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009977/0.6287, allocations: 0.4886 MB / 0.9968 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.869e-05/0.6288, allocations: 56 kB / 0.9969 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.6302, allocations: 0.8885 MB / 0.9977 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002439/0.6305, allocations: 255.3 kB / 0.998 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002977/0.6308, allocations: 338.5 kB / 0.9983 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.6323, allocations: 1.141 MB / 0.9994 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.6323, allocations: 0 / 0.9994 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6323, allocations: 0 / 0.9994 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.6323, allocations: 0 / 0.9994 GB, free: 11.46 MB / 0.7761 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.001243/0.6335, allocations: 0.8587 MB / 1 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.6336, allocations: 8.031 kB / 1 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.414e-05/0.6337, allocations: 86.52 kB / 1 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007502/0.6344, allocations: 175.5 kB / 1 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006533/0.6351, allocations: 470.5 kB / 1.001 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.6351, allocations: 29 kB / 1.001 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-05/0.6352, allocations: 44 kB / 1.001 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006034/0.6358, allocations: 474.4 kB / 1.001 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.6358, allocations: 0 / 1.001 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.6358, allocations: 20 kB / 1.001 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.6358, allocations: 17 kB / 1.002 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004524/0.6363, allocations: 419.7 kB / 1.002 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.6382, allocations: 1.768 MB / 1.004 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.6386, allocations: 282.6 kB / 1.004 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.6389, allocations: 168.8 kB / 1.004 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/0.639, allocations: 23.92 kB / 1.004 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.6391, allocations: 34.56 kB / 1.004 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=31): time 2.785e-06/0.6391, allocations: 0 / 1.004 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33): time 0.001569/0.6406, allocations: 0.994 MB / 1.005 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.6407, allocations: 59.39 kB / 1.005 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.6411, allocations: 449.9 kB / 1.006 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.6411, allocations: 33.7 kB / 1.006 GB, free: 4.801 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.6412, allocations: 264.3 kB / 1.006 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.536e-05/0.6413, allocations: 126.9 kB / 1.006 GB, free: 4.414 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.17e-05/0.6414, allocations: 61.7 kB / 1.006 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.6415, allocations: 362.7 kB / 1.006 GB, free: 3.984 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.6416, allocations: 131.9 kB / 1.007 GB, free: 3.855 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.6418, allocations: 193.7 kB / 1.007 GB, free: 3.645 MB / 0.7761 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.001443/0.6433, allocations: 0.7813 MB / 1.007 GB, free: 2.844 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6433, allocations: 3.938 kB / 1.007 GB, free: 2.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005037/0.6438, allocations: 425.2 kB / 1.008 GB, free: 2.418 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.6438, allocations: 12.19 kB / 1.008 GB, free: 2.406 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.6438, allocations: 0 / 1.008 GB, free: 2.406 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.6438, allocations: 4 kB / 1.008 GB, free: 2.402 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.644, allocations: 71.91 kB / 1.008 GB, free: 2.332 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.644, allocations: 4 kB / 1.008 GB, free: 2.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.6443, allocations: 8 kB / 1.008 GB, free: 2.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.6443, allocations: 12 kB / 1.008 GB, free: 2.309 MB / 0.7761 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.0002271/0.6445, allocations: 225.5 kB / 1.008 GB, free: 2.078 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.985e-05/0.6446, allocations: 55.67 kB / 1.008 GB, free: 2.023 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.212e-05/0.6447, allocations: 60.77 kB / 1.008 GB, free: 1.965 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.6447, allocations: 4 kB / 1.008 GB, free: 1.961 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.6447, allocations: 0 / 1.008 GB, free: 1.961 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003616/0.645, allocations: 409.1 kB / 1.009 GB, free: 1.531 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.6463, allocations: 1.223 MB / 1.01 GB, free: 216 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.6463, allocations: 4 kB / 1.01 GB, free: 212 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.6466, allocations: 71.91 kB / 1.01 GB, free: 140 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.6466, allocations: 4 kB / 1.01 GB, free: 136 kB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.6466, allocations: 12 kB / 1.01 GB, free: 124 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.6466, allocations: 4 kB / 1.01 GB, free: 120 kB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.6466, allocations: 11.94 kB / 1.01 GB, free: 108 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006377/0.6472, allocations: 0.6921 MB / 1.011 GB, free: 15.35 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.6474, allocations: 107.6 kB / 1.011 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.6474, allocations: 8 kB / 1.011 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.6476, allocations: 24.8 kB / 1.011 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.6477, allocations: 31.78 kB / 1.011 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.6477, allocations: 23.98 kB / 1.011 GB, free: 15.16 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002542/0.648, allocations: 331.1 kB / 1.011 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.648, allocations: 0 / 1.011 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004073/0.6484, allocations: 140 kB / 1.011 GB, free: 14.7 MB / 0.7917 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.000995/0.6494, allocations: 1.293 MB / 1.013 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004211/0.6498, allocations: 308.5 kB / 1.013 GB, free: 13.03 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6498, allocations: 7.938 kB / 1.013 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.6499, allocations: 159 kB / 1.013 GB, free: 12.87 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.651, allocations: 367.9 kB / 1.013 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004511/0.6555, allocations: 4.43 MB / 1.018 GB, free: 7.879 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.6558, allocations: 0.8823 MB / 1.019 GB, free: 6.969 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004211/0.6563, allocations: 128.7 kB / 1.019 GB, free: 6.844 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.6565, allocations: 167.4 kB / 1.019 GB, free: 6.68 MB / 0.7917 GB Notification: Performance of SimCode: time 1.823e-06/0.6565, allocations: 4 kB / 1.019 GB, free: 6.676 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.6887, allocations: 15.88 MB / 1.034 GB, free: 7.059 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.149/7.838, allocations: 15.92 kB / 1.034 GB, free: 7.043 MB / 0.8073 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.722142894985154] Failed to read output from testmodel.py, exit status != 0: 7.9251703910995275 7.934431217 7.300241759 Calling exit ...