Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 103.1 kB / 16.4 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001965/0.001965, allocations: 199.4 kB / 17.34 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7885/0.7885, allocations: 125.4 MB / 416.6 MB, free: 13.51 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.001801, allocations: 62.66 kB / 0.5716 GB, free: 27.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1488, allocations: 78.57 MB / 0.6484 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5892/0.7381, allocations: 242.5 MB / 0.8852 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02348/0.7616, allocations: 15.9 MB / 0.9007 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00299/0.7647, allocations: 75.56 kB / 0.9008 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003482/0.7682, allocations: 1.177 MB / 0.9019 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009987/0.7782, allocations: 3.81 MB / 0.9056 GB, free: 14.65 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005092/0.7833, allocations: 1.808 MB / 0.9074 GB, free: 12.85 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007961/0.7913, allocations: 5.235 MB / 0.9125 GB, free: 7.598 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002933/0.7943, allocations: 1.677 MB / 0.9142 GB, free: 5.883 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006723/0.801, allocations: 2.849 MB / 0.9169 GB, free: 3.023 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003396/0.8044, allocations: 1.684 MB / 0.9186 GB, free: 1.348 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003459/0.8048, allocations: 172 kB / 0.9188 GB, free: 1.18 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005349/0.8101, allocations: 2.693 MB / 0.9214 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008766/0.811, allocations: 0.7713 MB / 0.9221 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.8125, allocations: 1.147 MB / 0.9233 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005842/0.8184, allocations: 3.581 MB / 0.9268 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.8184, allocations: 4 kB / 0.9268 GB, free: 8.957 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8184, allocations: 0 / 0.9268 GB, free: 8.957 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.86e-05/0.8185, allocations: 0 / 0.9268 GB, free: 8.957 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.004613/0.8231, allocations: 2.566 MB / 0.9293 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.8231, allocations: 12.03 kB / 0.9293 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002692/0.8234, allocations: 211.1 kB / 0.9295 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002889/0.8263, allocations: 0.5177 MB / 0.93 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/0.8287, allocations: 1.379 MB / 0.9313 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/0.8289, allocations: 178.2 kB / 0.9315 GB, free: 3.965 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002287/0.8291, allocations: 155.9 kB / 0.9316 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002965/0.8321, allocations: 1.737 MB / 0.9333 GB, free: 2 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.8321, allocations: 0 / 0.9333 GB, free: 2 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.8323, allocations: 60 kB / 0.9334 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.465e-05/0.8324, allocations: 62.69 kB / 0.9335 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002788/0.8352, allocations: 1.381 MB / 0.9348 GB, free: 0.4922 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01113/0.8463, allocations: 8.367 MB / 0.943 GB, free: 7.395 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.848, allocations: 0.8974 MB / 0.9439 GB, free: 6.484 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009076/0.8489, allocations: 0.538 MB / 0.9444 GB, free: 5.949 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006411/0.8496, allocations: 320.4 kB / 0.9447 GB, free: 5.582 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.8496, allocations: 51.48 kB / 0.9447 GB, free: 5.52 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=96): time 2.605e-06/0.8496, allocations: 0 / 0.9447 GB, free: 5.52 MB / 0.7012 GB Notification: Performance of matching and sorting (n=102): time 0.007223/0.8569, allocations: 3.147 MB / 0.9478 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.857, allocations: 64.41 kB / 0.9479 GB, free: 2.254 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.8587, allocations: 1.254 MB / 0.9491 GB, free: 0.9922 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.8588, allocations: 49.7 kB / 0.9491 GB, free: 0.9375 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006842/0.8595, allocations: 0.8345 MB / 0.95 GB, free: 96 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/0.8599, allocations: 380.7 kB / 0.9503 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003476/0.8602, allocations: 230.8 kB / 0.9505 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.8604, allocations: 357.9 kB / 0.9509 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008648/0.8613, allocations: 445.8 kB / 0.9513 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.8625, allocations: 0.826 MB / 0.9521 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/0.8646, allocations: 1.252 MB / 0.9533 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.8646, allocations: 0 / 0.9533 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002567/0.8672, allocations: 1.415 MB / 0.9547 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.8672, allocations: 8 kB / 0.9547 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.8672, allocations: 8 kB / 0.9547 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/0.8672, allocations: 19.94 kB / 0.9548 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.8684, allocations: 283.5 kB / 0.955 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/0.8684, allocations: 15.94 kB / 0.955 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.8696, allocations: 75.98 kB / 0.9551 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-05/0.8697, allocations: 52 kB / 0.9552 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00138/0.8711, allocations: 0.7757 MB / 0.9559 GB, free: 9.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001142/0.8722, allocations: 0.8171 MB / 0.9567 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00196/0.8742, allocations: 1.237 MB / 0.9579 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.55e-06/0.8742, allocations: 4 kB / 0.9579 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002395/0.8766, allocations: 1.398 MB / 0.9593 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.8766, allocations: 8 kB / 0.9593 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.8767, allocations: 9.891 kB / 0.9593 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.8767, allocations: 19.94 kB / 0.9593 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.8778, allocations: 279.6 kB / 0.9596 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/0.8778, allocations: 19.94 kB / 0.9596 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.879, allocations: 71.94 kB / 0.9597 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.248e-05/0.8791, allocations: 48 kB / 0.9597 GB, free: 5.465 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0003224/0.8794, allocations: 279.7 kB / 0.96 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/0.8797, allocations: 170.9 kB / 0.9602 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.882, allocations: 1.156 MB / 0.9613 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.882, allocations: 8 kB / 0.9613 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.882, allocations: 0 / 0.9613 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001765/0.8838, allocations: 1.087 MB / 0.9624 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004617/0.8884, allocations: 2.789 MB / 0.9651 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.8884, allocations: 4 kB / 0.9651 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/0.8896, allocations: 247.9 kB / 0.9653 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.8896, allocations: 8 kB / 0.9653 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.799e-05/0.8897, allocations: 23.98 kB / 0.9654 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.8897, allocations: 4 kB / 0.9654 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.8897, allocations: 7.938 kB / 0.9654 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/0.8927, allocations: 1.78 MB / 0.9671 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006238/0.8933, allocations: 347.9 kB / 0.9674 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.8935, allocations: 24 kB / 0.9675 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009562/0.8945, allocations: 59.94 kB / 0.9675 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.8946, allocations: 60.92 kB / 0.9676 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.781e-05/0.8947, allocations: 39.97 kB / 0.9676 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001149/0.8959, allocations: 0.8428 MB / 0.9684 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.993e-06/0.8959, allocations: 0 / 0.9684 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001872/0.8978, allocations: 0.781 MB / 0.9692 GB, free: 11.57 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * 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 (102): * Single equations (assignments): 102 * 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.003835/0.9016, allocations: 2.488 MB / 0.9716 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003301/0.9049, allocations: 1.731 MB / 0.9733 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.9049, allocations: 0 / 0.9733 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009897/0.9059, allocations: 0.5182 MB / 0.9738 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004117/0.9101, allocations: 0.9149 MB / 0.9747 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/0.9284, allocations: 12.05 MB / 0.9865 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.9296, allocations: 1.445 MB / 0.9879 GB, free: 7.859 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001841/0.9314, allocations: 0.56 MB / 0.9884 GB, free: 7.293 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009509/0.9324, allocations: 0.6867 MB / 0.9891 GB, free: 6.605 MB / 0.7481 GB Notification: Performance of SimCode: time 6.01e-07/0.9324, allocations: 0 / 0.9891 GB, free: 6.605 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1732/1.106, allocations: 45 MB / 1.033 GB, free: 10.14 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11.61, allocations: 2.469 kB / 1.033 GB, free: 10.14 MB / 0.795 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)