Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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.007487/0.007487, allocations: 102 kB / 15.73 MB, free: 6.051 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.001718/0.001719, allocations: 195 kB / 16.68 MB, free: 5.969 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.00208, allocations: 279 kB / 290.8 MB, free: 1.773 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9098/0.9098, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 101.8 kB / 0.681 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1672, allocations: 86.98 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.5436/0.7108, allocations: 181.9 MB / 0.9435 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007612/0.7185, allocations: 5.362 MB / 0.9487 GB, free: 7.875 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008706/0.7194, allocations: 35.81 kB / 0.9488 GB, free: 7.84 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.7204, allocations: 441.4 kB / 0.9492 GB, free: 7.406 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003464/0.7239, allocations: 1.665 MB / 0.9508 GB, free: 5.734 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.7257, allocations: 0.8067 MB / 0.9516 GB, free: 4.934 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002309/0.728, allocations: 2.207 MB / 0.9538 GB, free: 2.727 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008033/0.7288, allocations: 0.686 MB / 0.9544 GB, free: 2.031 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009631/0.7298, allocations: 0.7393 MB / 0.9551 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/0.7313, allocations: 0.6876 MB / 0.9558 GB, free: 0.6172 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.7314, allocations: 76 kB / 0.9559 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002666/0.7341, allocations: 1.399 MB / 0.9573 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.7344, allocations: 315.1 kB / 0.9576 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004534/0.7349, allocations: 473.9 kB / 0.958 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001936/0.7368, allocations: 1.671 MB / 0.9596 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7368, allocations: 0 / 0.9596 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7368, allocations: 0 / 0.9596 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.7368, allocations: 0 / 0.9596 GB, free: 12.69 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001716/0.7386, allocations: 1.194 MB / 0.9608 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.7386, allocations: 8.031 kB / 0.9608 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.7387, allocations: 103.6 kB / 0.9609 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/0.7404, allocations: 270.7 kB / 0.9612 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.7416, allocations: 0.7138 MB / 0.9619 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.7416, allocations: 41.31 kB / 0.9619 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.266e-05/0.7417, allocations: 60 kB / 0.962 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009162/0.7426, allocations: 0.5882 MB / 0.9625 GB, free: 9.617 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.7427, allocations: 0 / 0.9625 GB, free: 9.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.749e-05/0.7427, allocations: 28 kB / 0.9626 GB, free: 9.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/0.7428, allocations: 21.31 kB / 0.9626 GB, free: 9.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008167/0.7436, allocations: 0.5048 MB / 0.9631 GB, free: 9.066 MB / 0.7169 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.003004/0.7466, allocations: 2.38 MB / 0.9654 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007611/0.7474, allocations: 434.1 kB / 0.9658 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.7477, allocations: 216.8 kB / 0.966 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001645/0.7479, allocations: 105.1 kB / 0.9661 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.7479, allocations: 34.56 kB / 0.9662 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=43): time 1.683e-06/0.7479, allocations: 0 / 0.9662 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48): time 0.002665/0.7506, allocations: 1.432 MB / 0.9676 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.7507, allocations: 63.84 kB / 0.9676 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006272/0.7513, allocations: 0.5304 MB / 0.9681 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/0.7513, allocations: 37.7 kB / 0.9682 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.7516, allocations: 328.7 kB / 0.9685 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.7518, allocations: 169.5 kB / 0.9686 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.7519, allocations: 90.16 kB / 0.9687 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.7521, allocations: 378.7 kB / 0.9691 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.7524, allocations: 177 kB / 0.9693 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/0.7528, allocations: 256.8 kB / 0.9695 GB, free: 2.129 MB / 0.7169 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.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: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003309/0.7561, allocations: 1.442 MB / 0.9709 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7561, allocations: 4 kB / 0.9709 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008554/0.757, allocations: 0.5304 MB / 0.9714 GB, free: 96 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.757, allocations: 4 kB / 0.9714 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.757, allocations: 12.38 kB / 0.9714 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.7571, allocations: 4 kB / 0.9715 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004181/0.7575, allocations: 87.95 kB / 0.9715 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.7575, allocations: 4 kB / 0.9715 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005915/0.7581, allocations: 23.72 kB / 0.9716 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/0.7582, allocations: 19.94 kB / 0.9716 GB, free: 15.95 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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.0003378/0.7585, allocations: 250.2 kB / 0.9718 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.7586, allocations: 75.16 kB / 0.9719 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.7588, allocations: 78.45 kB / 0.972 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.7588, allocations: 4 kB / 0.972 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.7588, allocations: 0 / 0.972 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007082/0.7595, allocations: 0.5067 MB / 0.9725 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/0.7618, allocations: 1.598 MB / 0.974 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.7618, allocations: 4 kB / 0.974 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005094/0.7623, allocations: 107.9 kB / 0.9741 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.7624, allocations: 4 kB / 0.9741 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.7624, allocations: 23.98 kB / 0.9742 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/0.7624, allocations: 7.938 kB / 0.9742 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.984e-06/0.7624, allocations: 11.94 kB / 0.9742 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.7636, allocations: 0.906 MB / 0.9751 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/0.7639, allocations: 192.3 kB / 0.9752 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.689e-05/0.764, allocations: 19.98 kB / 0.9753 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005139/0.7645, allocations: 18.78 kB / 0.9753 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.123e-05/0.7646, allocations: 55.77 kB / 0.9753 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/0.7646, allocations: 23.98 kB / 0.9754 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004156/0.7651, allocations: 394.8 kB / 0.9757 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7651, allocations: 0 / 0.9757 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006385/0.7657, allocations: 196 kB / 0.9759 GB, free: 11.25 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.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 (49): * Single equations (assignments): 49 * 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.001698/0.7674, allocations: 1.535 MB / 0.9774 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007273/0.7682, allocations: 445.2 kB / 0.9778 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7682, allocations: 7.938 kB / 0.9779 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.7685, allocations: 233.7 kB / 0.9781 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/0.7705, allocations: 0.4904 MB / 0.9786 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006347/0.7769, allocations: 5.469 MB / 0.9839 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.7774, allocations: 0.9771 MB / 0.9849 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005028/0.7779, allocations: 165.8 kB / 0.985 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/0.7782, allocations: 251.4 kB / 0.9852 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.7782, allocations: 0 / 0.9852 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03936/0.8176, allocations: 20.26 MB / 1.005 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/8.921, allocations: 3.938 kB / 1.005 GB, free: 13.5 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)