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.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.0008068/0.0008068, 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.0008646/0.0008646, allocations: 221.7 kB / 22.26 MB, free: 3.691 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.9095/0.9095, allocations: 230.6 MB / 256 MB, free: 9.797 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.7815/0.7815, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.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: 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.001288/0.001288, allocations: 71.52 kB / 0.7182 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.482/0.4833, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.1803/0.6636, allocations: 214.2 MB / 1.027 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01117/0.6748, allocations: 9.96 MB / 1.037 GB, free: 5.09 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.6763, allocations: 79.31 kB / 1.037 GB, free: 5.012 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001619/0.6779, allocations: 0.8155 MB / 1.038 GB, free: 4.191 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.006305/0.6842, allocations: 2.987 MB / 1.041 GB, free: 1.191 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00292/0.6872, allocations: 1.488 MB / 1.042 GB, free: 15.72 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.004735/0.6919, allocations: 4.189 MB / 1.046 GB, free: 11.52 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.6931, allocations: 0.9975 MB / 1.047 GB, free: 10.48 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002968/0.6961, allocations: 1.869 MB / 1.049 GB, free: 8.609 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002249/0.6984, allocations: 1.297 MB / 1.05 GB, free: 7.312 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002501/0.6986, allocations: 144 kB / 1.05 GB, free: 7.172 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003905/0.7025, allocations: 2.552 MB / 1.053 GB, free: 4.613 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005193/0.703, allocations: 0.627 MB / 1.053 GB, free: 3.984 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008379/0.7039, allocations: 0.8634 MB / 1.054 GB, free: 3.117 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003889/0.7078, allocations: 3.017 MB / 1.057 GB, free: 92 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.7078, allocations: 4 kB / 1.057 GB, free: 88 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7078, allocations: 0 / 1.057 GB, free: 88 kB / 0.823 GB Notification: Performance of Transformations before backend: time 2.638e-05/0.7078, allocations: 0 / 1.057 GB, free: 88 kB / 0.823 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.002218/0.71, allocations: 1.87 MB / 1.059 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.7101, allocations: 11.97 kB / 1.059 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001593/0.7102, allocations: 168.8 kB / 1.059 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.7119, allocations: 498.5 kB / 1.06 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.7133, allocations: 1.06 MB / 1.061 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/0.7133, allocations: 86.14 kB / 1.061 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.7135, allocations: 116 kB / 1.061 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.7148, allocations: 1.151 MB / 1.062 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.7148, allocations: 0 / 1.062 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.872e-05/0.7149, allocations: 52 kB / 1.062 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.722e-05/0.7149, allocations: 42.12 kB / 1.062 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.7162, allocations: 1.074 MB / 1.063 GB, free: 9.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004283/0.7204, allocations: 4.371 MB / 1.067 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008201/0.7213, allocations: 0.7626 MB / 1.068 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004376/0.7217, allocations: 458.8 kB / 1.069 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001885/0.7219, allocations: 65.23 kB / 1.069 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.7219, allocations: 55.25 kB / 1.069 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=83): time 2.274e-06/0.7219, allocations: 0 / 1.069 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of matching and sorting (n=89): time 0.003624/0.7255, allocations: 2.636 MB / 1.071 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.7256, allocations: 68.41 kB / 1.071 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008589/0.7264, allocations: 0.9715 MB / 1.072 GB, free: 60 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.895e-05/0.7265, allocations: 45.7 kB / 1.072 GB, free: 8 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/0.7268, allocations: 0.5482 MB / 1.073 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004017/0.7272, allocations: 329.2 kB / 1.073 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.7274, allocations: 158.6 kB / 1.073 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.645e-05/0.7274, allocations: 337.9 kB / 1.074 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.7278, allocations: 341.8 kB / 1.074 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/0.7283, allocations: 489.9 kB / 1.075 GB, free: 13.78 MB / 0.8542 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.003636/0.7319, allocations: 2.811 MB / 1.077 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7319, allocations: 4 kB / 1.077 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001134/0.733, allocations: 1.02 MB / 1.078 GB, free: 9.906 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.7331, allocations: 4 kB / 1.078 GB, free: 9.902 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.7331, allocations: 4 kB / 1.078 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.7331, allocations: 8 kB / 1.078 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/0.7335, allocations: 183.7 kB / 1.078 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.7335, allocations: 4 kB / 1.078 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005504/0.7341, allocations: 31.94 kB / 1.078 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/0.7341, allocations: 32 kB / 1.079 GB, free: 9.645 MB / 0.8542 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.0004688/0.7346, allocations: 381.5 kB / 1.079 GB, free: 9.262 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.7347, allocations: 135.1 kB / 1.079 GB, free: 9.129 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.7349, allocations: 156.2 kB / 1.079 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.7349, allocations: 8 kB / 1.079 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.7349, allocations: 0 / 1.079 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001215/0.7361, allocations: 1.09 MB / 1.08 GB, free: 7.801 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003235/0.7394, allocations: 3.023 MB / 1.083 GB, free: 4.605 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.7394, allocations: 12 kB / 1.083 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/0.7398, allocations: 155.8 kB / 1.083 GB, free: 4.441 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002233/0.74, allocations: 101.6 kB / 1.083 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.404e-05/0.74, allocations: 28 kB / 1.083 GB, free: 4.309 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/0.7417, allocations: 2.887 MB / 1.086 GB, free: 1.195 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.7417, allocations: 15.94 kB / 1.086 GB, free: 1.18 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.7435, allocations: 1.742 MB / 1.088 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004017/0.7439, allocations: 235.1 kB / 1.088 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.078e-05/0.744, allocations: 36.11 kB / 1.088 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004659/0.7445, allocations: 34.05 kB / 1.088 GB, free: 15 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/0.7446, allocations: 100.1 kB / 1.088 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-05/0.7446, allocations: 43.98 kB / 1.088 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006334/0.7453, allocations: 0.6995 MB / 1.089 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.7453, allocations: 0 / 1.089 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007495/0.746, allocations: 368 kB / 1.089 GB, free: 13.79 MB / 0.8698 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.001919/0.7479, allocations: 2.407 MB / 1.092 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000945/0.7489, allocations: 0.8089 MB / 1.093 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.7489, allocations: 4.125 kB / 1.093 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006097/0.7495, allocations: 0.6539 MB / 1.093 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/0.7519, allocations: 0.9287 MB / 1.094 GB, free: 8.855 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.7627, allocations: 9.732 MB / 1.104 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009455/0.7636, allocations: 1.253 MB / 1.105 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001573/0.7652, allocations: 335 kB / 1.105 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006934/0.7659, allocations: 471.3 kB / 1.106 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of SimCode: time 1.633e-06/0.7659, allocations: 4 kB / 1.106 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06439/0.8303, allocations: 39.27 MB / 1.144 GB, free: 5.703 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.995/9.826, allocations: 4.062 kB / 1.144 GB, free: 5.699 MB / 0.9167 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 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: 12.982066671131179] Failed to read output from testmodel.py, exit status != 0: 9.924501748988405 10.234692263 9.524569461 Calling exit ...