Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.0008543/0.0008543, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00093/0.0009299, allocations: 184.7 kB / 16.92 MB, free: 6.887 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.193/1.193, allocations: 223.3 MB / 241 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6094/0.6094, allocations: 115.5 MB / 407.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003035/0.0003035, allocations: 9.469 kB / 495.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1142, allocations: 77.53 MB / 0.56 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.3586/0.4729, allocations: 183.7 MB / 0.7394 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0128/0.4857, allocations: 11.03 MB / 0.7502 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.4868, allocations: 39.69 kB / 0.7503 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.488, allocations: 429.7 kB / 0.7507 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005127/0.4931, allocations: 2.424 MB / 0.753 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004684/0.4978, allocations: 2.066 MB / 0.7551 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003974/0.5018, allocations: 3.996 MB / 0.759 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009803/0.5028, allocations: 0.642 MB / 0.7596 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.5042, allocations: 0.8323 MB / 0.7604 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/0.5061, allocations: 1.057 MB / 0.7614 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001902/0.5063, allocations: 44 kB / 0.7615 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004737/0.5111, allocations: 3.289 MB / 0.7647 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004602/0.5115, allocations: 382.8 kB / 0.765 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007528/0.5123, allocations: 0.5458 MB / 0.7656 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004356/0.5167, allocations: 3.015 MB / 0.7685 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.5167, allocations: 0 / 0.7685 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5167, allocations: 0 / 0.7685 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.504e-05/0.5167, allocations: 0 / 0.7685 GB, free: 1.164 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003089/0.5198, allocations: 1.468 MB / 0.77 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.5199, allocations: 8.031 kB / 0.77 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002081/0.5201, allocations: 118.5 kB / 0.7701 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/0.5219, allocations: 294.4 kB / 0.7704 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.5232, allocations: 0.7805 MB / 0.7711 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/0.5232, allocations: 53.3 kB / 0.7712 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.5234, allocations: 63.98 kB / 0.7712 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.5248, allocations: 0.9999 MB / 0.7722 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.5249, allocations: 3.938 kB / 0.7722 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-05/0.5249, allocations: 23.98 kB / 0.7722 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.603e-05/0.525, allocations: 73.95 kB / 0.7723 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.5264, allocations: 1.019 MB / 0.7733 GB, free: 12.15 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.004773/0.5312, allocations: 3.579 MB / 0.7768 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009324/0.5322, allocations: 0.6662 MB / 0.7775 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000476/0.5327, allocations: 377.8 kB / 0.7778 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/0.5329, allocations: 198.8 kB / 0.778 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.5329, allocations: 43.06 kB / 0.778 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 1.953e-06/0.5329, allocations: 0 / 0.778 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of matching and sorting (n=62): time 0.00161/0.5345, allocations: 1.025 MB / 0.779 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.5346, allocations: 111.4 kB / 0.7791 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008074/0.5354, allocations: 0.8019 MB / 0.7799 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.5355, allocations: 41.7 kB / 0.78 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.5357, allocations: 420.1 kB / 0.7804 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.5359, allocations: 220.8 kB / 0.7806 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.641e-05/0.536, allocations: 65.69 kB / 0.7806 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.551e-05/0.5361, allocations: 337.9 kB / 0.781 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000475/0.5366, allocations: 325.8 kB / 0.7813 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000555/0.5371, allocations: 468.7 kB / 0.7817 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009815/0.5381, allocations: 0.7665 MB / 0.7825 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5381, allocations: 3.938 kB / 0.7825 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001253/0.5394, allocations: 0.9372 MB / 0.7834 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.45e-05/0.5395, allocations: 155.6 kB / 0.7835 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5395, allocations: 0 / 0.7835 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.5395, allocations: 4 kB / 0.7835 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006054/0.5401, allocations: 159.9 kB / 0.7837 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.5402, allocations: 8 kB / 0.7837 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007541/0.5409, allocations: 115 kB / 0.7838 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.875e-05/0.541, allocations: 28.84 kB / 0.7838 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.931e-06/0.541, allocations: 4 kB / 0.7838 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001087/0.5421, allocations: 0.7765 MB / 0.7846 GB, free: 124 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.5421, allocations: 0 / 0.7846 GB, free: 124 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/0.5421, allocations: 8 kB / 0.7846 GB, free: 116 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005774/0.5427, allocations: 152 kB / 0.7848 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.5427, allocations: 4 kB / 0.7848 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006488/0.5434, allocations: 97.62 kB / 0.7849 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/0.5434, allocations: 31.98 kB / 0.7849 GB, free: 15.84 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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.000345/0.5438, allocations: 368.8 kB / 0.7852 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.5439, allocations: 102.8 kB / 0.7853 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.5451, allocations: 0.8057 MB / 0.7861 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.5451, allocations: 4 kB / 0.7861 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5451, allocations: 4 kB / 0.7861 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008869/0.546, allocations: 0.7439 MB / 0.7869 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00258/0.5486, allocations: 2.089 MB / 0.7889 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5486, allocations: 4 kB / 0.7889 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005562/0.5492, allocations: 132.2 kB / 0.789 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.5492, allocations: 7.938 kB / 0.789 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-05/0.5492, allocations: 20 kB / 0.7891 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.5493, allocations: 11.98 kB / 0.7891 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.5493, allocations: 7.938 kB / 0.7891 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.5509, allocations: 1.352 MB / 0.7904 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/0.5512, allocations: 267.8 kB / 0.7906 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.5513, allocations: 19.94 kB / 0.7907 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000552/0.5518, allocations: 48.84 kB / 0.7907 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.638e-05/0.5519, allocations: 48.25 kB / 0.7908 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.552, allocations: 20 kB / 0.7908 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006228/0.5526, allocations: 0.5576 MB / 0.7913 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5526, allocations: 0 / 0.7913 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001484/0.5541, allocations: 0.7489 MB / 0.7921 GB, free: 8.277 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.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 (64): * Single equations (assignments): 64 * 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.002975/0.5571, allocations: 2.363 MB / 0.7944 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001739/0.5588, allocations: 1.171 MB / 0.7955 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.5588, allocations: 4 kB / 0.7955 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000465/0.5593, allocations: 370.1 kB / 0.7959 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/0.5619, allocations: 0.5021 MB / 0.7964 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.5725, allocations: 8.64 MB / 0.8048 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/0.5731, allocations: 1.074 MB / 0.8058 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001208/0.5743, allocations: 414.5 kB / 0.8062 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004429/0.5748, allocations: 339.3 kB / 0.8066 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of SimCode: time 6.22e-07/0.5748, allocations: 0 / 0.8066 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.254/2.828, allocations: 29.95 MB / 0.8358 GB, free: 228.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/2.829, allocations: 257.9 kB / 0.8361 GB, free: 228.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.308/6.137, allocations: 0 / 0.8361 GB, free: 228.1 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)