Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007394/0.0007394, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007223/0.0007223, allocations: 181.9 kB / 23.22 MB, free: 1.344 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.8803/0.8803, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.685/0.685, allocations: 154.6 MB / 414.5 MB, free: 0.8125 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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.6193 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.26e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.4994/0.4995, allocations: 185.7 MB / 0.8007 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0122/0.5117, allocations: 9.29 MB / 0.8098 GB, free: 8.43 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.5132, allocations: 82.16 kB / 0.8098 GB, free: 8.387 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.5148, allocations: 0.765 MB / 0.8106 GB, free: 7.957 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005685/0.5205, allocations: 2.989 MB / 0.8135 GB, free: 5.812 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002719/0.5232, allocations: 1.489 MB / 0.815 GB, free: 4.664 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003549/0.5267, allocations: 4.201 MB / 0.8191 GB, free: 2.172 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009528/0.5277, allocations: 1.001 MB / 0.82 GB, free: 1.445 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002783/0.5305, allocations: 2.337 MB / 0.8223 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.5319, allocations: 1.149 MB / 0.8234 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.532, allocations: 144 kB / 0.8236 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.5349, allocations: 1.984 MB / 0.8255 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004236/0.5353, allocations: 0.6571 MB / 0.8262 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004699/0.5358, allocations: 0.6061 MB / 0.8267 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002574/0.5384, allocations: 3.047 MB / 0.8297 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.5384, allocations: 4 kB / 0.8297 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5384, allocations: 0 / 0.8297 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.549e-05/0.5384, allocations: 0 / 0.8297 GB, free: 11.59 MB / 0.6823 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.001858/0.5402, allocations: 1.861 MB / 0.8315 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.5403, allocations: 12.03 kB / 0.8316 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.5418, allocations: 0.4908 MB / 0.832 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.5431, allocations: 1.053 MB / 0.8331 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/0.5431, allocations: 82.14 kB / 0.8331 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.5433, allocations: 108 kB / 0.8332 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.5447, allocations: 1.613 MB / 0.8348 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.5447, allocations: 0 / 0.8348 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.829e-05/0.5448, allocations: 44 kB / 0.8349 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.772e-05/0.5448, allocations: 46.06 kB / 0.8349 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.5459, allocations: 1.07 MB / 0.8359 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002974/0.5489, allocations: 2.691 MB / 0.8386 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008311/0.5497, allocations: 0.7515 MB / 0.8393 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/0.5501, allocations: 458.6 kB / 0.8397 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.5503, allocations: 64.97 kB / 0.8398 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.5503, allocations: 44.41 kB / 0.8398 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=83): time 1.854e-06/0.5503, allocations: 3.938 kB / 0.8399 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of matching and sorting (n=89): time 0.003166/0.5535, allocations: 2.612 MB / 0.8424 GB, free: 14.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.5535, allocations: 64.34 kB / 0.8425 GB, free: 14.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005523/0.5541, allocations: 0.7475 MB / 0.8432 GB, free: 13.74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.167e-05/0.5541, allocations: 45.7 kB / 0.8432 GB, free: 13.69 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/0.5544, allocations: 0.5594 MB / 0.8438 GB, free: 13.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.5545, allocations: 321.1 kB / 0.8441 GB, free: 12.81 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.5547, allocations: 162.6 kB / 0.8442 GB, free: 12.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.815e-05/0.5548, allocations: 344.1 kB / 0.8446 GB, free: 12.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.5551, allocations: 341.8 kB / 0.8449 GB, free: 11.97 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/0.5556, allocations: 0.5788 MB / 0.8455 GB, free: 11.33 MB / 0.698 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.003595/0.5592, allocations: 2.815 MB / 0.8482 GB, free: 8.488 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.5592, allocations: 0 / 0.8482 GB, free: 8.488 MB / 0.698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0009405/0.5601, allocations: 0.9967 MB / 0.8492 GB, free: 7.484 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.5601, allocations: 4 kB / 0.8492 GB, free: 7.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5601, allocations: 4 kB / 0.8492 GB, free: 7.477 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.5601, allocations: 8 kB / 0.8492 GB, free: 7.469 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.5605, allocations: 179.7 kB / 0.8494 GB, free: 7.293 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.5605, allocations: 15.88 kB / 0.8494 GB, free: 7.277 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003679/0.5609, allocations: 35.97 kB / 0.8494 GB, free: 7.242 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.473e-05/0.5609, allocations: 32 kB / 0.8495 GB, free: 7.211 MB / 0.698 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.0003521/0.5613, allocations: 389.9 kB / 0.8498 GB, free: 6.824 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.983e-05/0.5614, allocations: 107.3 kB / 0.8499 GB, free: 6.719 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.5615, allocations: 130.4 kB / 0.8501 GB, free: 6.586 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.5615, allocations: 12 kB / 0.8501 GB, free: 6.574 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/0.5615, allocations: 3.938 kB / 0.8501 GB, free: 6.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009425/0.5625, allocations: 1.082 MB / 0.8511 GB, free: 5.414 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002846/0.5653, allocations: 2.694 MB / 0.8538 GB, free: 2.559 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.5653, allocations: 16.25 kB / 0.8538 GB, free: 2.543 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/0.5657, allocations: 159.7 kB / 0.8539 GB, free: 2.387 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001908/0.5659, allocations: 109.5 kB / 0.854 GB, free: 2.273 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/0.5659, allocations: 28 kB / 0.8541 GB, free: 2.246 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/0.5674, allocations: 2.821 MB / 0.8568 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.5674, allocations: 15.94 kB / 0.8568 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.5688, allocations: 1.709 MB / 0.8585 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/0.569, allocations: 211.3 kB / 0.8587 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.793e-05/0.5691, allocations: 35.98 kB / 0.8587 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.5695, allocations: 32.86 kB / 0.8588 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/0.5696, allocations: 92.14 kB / 0.8589 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-05/0.5696, allocations: 43.98 kB / 0.8589 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003983/0.57, allocations: 0.5068 MB / 0.8594 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.57, allocations: 0 / 0.8594 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006626/0.5707, allocations: 376 kB / 0.8597 GB, free: 12.09 MB / 0.7136 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.0005832/0.5713, allocations: 222.2 kB / 0.86 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000823/0.5721, allocations: 0.8165 MB / 0.8608 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5721, allocations: 0.75 kB / 0.8608 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005557/0.5726, allocations: 0.6541 MB / 0.8614 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.5743, allocations: 0.7377 MB / 0.8621 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.5767, allocations: 2.67 MB / 0.8647 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.5771, allocations: 0.6604 MB / 0.8654 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.5773, allocations: 88.5 kB / 0.8655 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of SimCode: time 6.11e-07/0.5773, allocations: 0 / 0.8655 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of Templates: time 0.01911/0.5964, allocations: 25.59 MB / 0.8904 GB, free: 12.66 MB / 0.7448 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.449284949339926] Failed to read output from testmodel.py, exit status != 0: 0.6021991381421685 0.610077578 0.069968809 Calling exit ...