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.00145/0.00145, allocations: 102.9 kB / 16.27 MB, free: 5.93 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.00169/0.00169, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.367/1.367, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7402/0.7402, allocations: 122.8 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001525, allocations: 67.89 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3631, allocations: 77.92 MB / 0.5673 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5682/0.9314, allocations: 242.4 MB / 0.804 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01826/0.9496, allocations: 15.89 MB / 0.8195 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002606/0.9523, allocations: 76.22 kB / 0.8196 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002686/0.955, allocations: 1.184 MB / 0.8207 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009168/0.9642, allocations: 3.819 MB / 0.8245 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00473/0.9689, allocations: 1.806 MB / 0.8262 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007658/0.9766, allocations: 5.25 MB / 0.8313 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002156/0.9788, allocations: 1.667 MB / 0.833 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006326/0.9851, allocations: 2.592 MB / 0.8355 GB, free: 44 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003351/0.9885, allocations: 1.716 MB / 0.8372 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003487/0.9888, allocations: 176.1 kB / 0.8374 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005723/0.9946, allocations: 2.703 MB / 0.84 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008528/0.9954, allocations: 0.7739 MB / 0.8407 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001592/0.997, allocations: 1.151 MB / 0.8419 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005303/1.002, allocations: 3.515 MB / 0.8453 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.002, allocations: 0 / 0.8453 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/1.002, allocations: 4 kB / 0.8453 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.666e-05/1.002, allocations: 2.594 kB / 0.8453 GB, free: 11.05 MB / 0.5919 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.00432/1.007, allocations: 2.492 MB / 0.8477 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/1.007, allocations: 10.47 kB / 0.8478 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002584/1.007, allocations: 217.3 kB / 0.848 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002899/1.01, allocations: 0.5039 MB / 0.8485 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/1.012, allocations: 1.271 MB / 0.8497 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001802/1.012, allocations: 193.7 kB / 0.8499 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/1.012, allocations: 151.9 kB / 0.85 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002789/1.015, allocations: 1.731 MB / 0.8517 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/1.015, allocations: 6.625 kB / 0.8517 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/1.015, allocations: 60 kB / 0.8518 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.008e-05/1.015, allocations: 62.69 kB / 0.8518 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002427/1.018, allocations: 1.377 MB / 0.8532 GB, free: 4.383 MB / 0.5919 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.009118/1.027, allocations: 8.267 MB / 0.8613 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/1.029, allocations: 0.8998 MB / 0.8621 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008938/1.03, allocations: 0.5497 MB / 0.8627 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006153/1.03, allocations: 319.2 kB / 0.863 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/1.03, allocations: 47.56 kB / 0.863 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=96): time 2.745e-06/1.03, allocations: 0 / 0.863 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=102): time 0.006776/1.037, allocations: 3.116 MB / 0.8661 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/1.037, allocations: 64.41 kB / 0.8661 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/1.039, allocations: 1.265 MB / 0.8674 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.281e-05/1.039, allocations: 49.7 kB / 0.8674 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005896/1.039, allocations: 0.8005 MB / 0.8682 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/1.04, allocations: 378.7 kB / 0.8686 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003294/1.04, allocations: 222.8 kB / 0.8688 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001664/1.04, allocations: 357.9 kB / 0.8691 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008264/1.041, allocations: 445.8 kB / 0.8695 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/1.042, allocations: 0.8234 MB / 0.8703 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001956/1.044, allocations: 1.25 MB / 0.8716 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.044, allocations: 4 kB / 0.8716 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002421/1.047, allocations: 1.407 MB / 0.8729 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.047, allocations: 12.22 kB / 0.8729 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/1.047, allocations: 16 kB / 0.873 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/1.047, allocations: 16 kB / 0.873 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/1.048, allocations: 275.4 kB / 0.8732 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-05/1.048, allocations: 23.36 kB / 0.8733 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/1.049, allocations: 67.89 kB / 0.8733 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/1.049, allocations: 59.98 kB / 0.8734 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001322/1.051, allocations: 0.764 MB / 0.8741 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001155/1.052, allocations: 0.8206 MB / 0.8749 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001854/1.054, allocations: 1.235 MB / 0.8761 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.038e-06/1.054, allocations: 3.938 kB / 0.8761 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002294/1.056, allocations: 1.392 MB / 0.8775 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/1.056, allocations: 8 kB / 0.8775 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/1.056, allocations: 15.98 kB / 0.8775 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/1.056, allocations: 16 kB / 0.8775 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/1.057, allocations: 270.5 kB / 0.8778 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/1.057, allocations: 25.05 kB / 0.8778 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/1.058, allocations: 71.94 kB / 0.8779 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.338e-05/1.059, allocations: 52 kB / 0.8779 GB, free: 9.965 MB / 0.6231 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.0002909/1.059, allocations: 266.6 kB / 0.8782 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/1.059, allocations: 174 kB / 0.8784 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/1.061, allocations: 1.149 MB / 0.8795 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/1.061, allocations: 8 kB / 0.8795 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.061, allocations: 0 / 0.8795 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001809/1.063, allocations: 1.083 MB / 0.8805 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004691/1.068, allocations: 2.788 MB / 0.8833 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.068, allocations: 0 / 0.8833 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/1.069, allocations: 250.2 kB / 0.8835 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/1.069, allocations: 4 kB / 0.8835 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.299e-05/1.069, allocations: 31.98 kB / 0.8835 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.447e-06/1.069, allocations: 10.62 kB / 0.8836 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.069, allocations: 0 / 0.8836 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002987/1.072, allocations: 1.776 MB / 0.8853 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006574/1.073, allocations: 331 kB / 0.8856 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002743/1.073, allocations: 27.98 kB / 0.8856 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/1.074, allocations: 51.95 kB / 0.8857 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/1.075, allocations: 75.41 kB / 0.8858 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.798e-05/1.075, allocations: 43.98 kB / 0.8858 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001136/1.076, allocations: 0.8426 MB / 0.8866 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/1.076, allocations: 0 / 0.8866 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002099/1.078, allocations: 0.7617 MB / 0.8874 GB, free: 192 kB / 0.6231 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.003656/1.082, allocations: 2.481 MB / 0.8898 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003953/1.085, allocations: 2.001 MB / 0.8917 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.086, allocations: 1.688 kB / 0.8917 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008835/1.086, allocations: 0.5245 MB / 0.8922 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004085/1.09, allocations: 0.9204 MB / 0.8931 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/1.109, allocations: 13.08 MB / 0.9059 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/1.11, allocations: 1.445 MB / 0.9073 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002028/1.112, allocations: 0.56 MB / 0.9079 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008898/1.113, allocations: 0.6828 MB / 0.9085 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of SimCode: time 7.21e-07/1.113, allocations: 4 kB / 0.9085 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08107/1.194, allocations: 44.6 MB / 0.9521 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.45/9.644, allocations: 12.95 kB / 0.9521 GB, free: 13.89 MB / 0.7012 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)