Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",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.001363/0.001363, allocations: 95.88 kB / 15.69 MB, free: 480 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.002353/0.002353, allocations: 177.1 kB / 16.57 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.646/2.646, allocations: 223.2 MB / 240.5 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.188/1.188, allocations: 113.7 MB / 405.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006696/0.0006701, allocations: 12 kB / 493 MB, free: 8.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2886, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater): time 0.03995/0.3286, allocations: 19.58 MB / 0.5758 GB, free: 8.066 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01472/0.3434, allocations: 5.871 MB / 0.5816 GB, free: 2.188 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002433/0.346, allocations: 23.81 kB / 0.5816 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002071/0.3481, allocations: 322.4 kB / 0.5819 GB, free: 1.848 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005781/0.3539, allocations: 0.9387 MB / 0.5828 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005083/0.359, allocations: 0.9293 MB / 0.5837 GB, free: 0 / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.7658/1.125, allocations: 1.954 MB / 0.5856 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004769/1.13, allocations: 0.903 MB / 0.5865 GB, free: 11.65 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004924/1.135, allocations: 0.7995 MB / 0.5873 GB, free: 11.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003025/1.138, allocations: 0.5573 MB / 0.5879 GB, free: 11.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003844/1.138, allocations: 45.19 kB / 0.5879 GB, free: 11.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003407/1.142, allocations: 466.7 kB / 0.5883 GB, free: 11.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005531/1.147, allocations: 199.8 kB / 0.5885 GB, free: 11.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001841/1.149, allocations: 251.8 kB / 0.5888 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00588/1.155, allocations: 1.37 MB / 0.5901 GB, free: 11.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/1.155, allocations: 3.094 kB / 0.5901 GB, free: 11.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.767e-06/1.155, allocations: 1.531 kB / 0.5901 GB, free: 11.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001053/1.155, allocations: 0 / 0.5901 GB, free: 11.52 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.007823/1.163, allocations: 1.305 MB / 0.5914 GB, free: 26.76 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.591e-05/1.163, allocations: 9.938 kB / 0.5914 GB, free: 26.76 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001065/1.164, allocations: 125.2 kB / 0.5915 GB, free: 26.72 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/1.166, allocations: 139.1 kB / 0.5917 GB, free: 26.66 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/1.176, allocations: 1.074 MB / 0.5927 GB, free: 26.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/1.177, allocations: 59 kB / 0.5928 GB, free: 26.36 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009209/1.178, allocations: 72.83 kB / 0.5928 GB, free: 26.36 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006617/1.184, allocations: 1.041 MB / 0.5938 GB, free: 26.19 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.613e-05/1.184, allocations: 4.469 kB / 0.5938 GB, free: 26.19 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002931/1.185, allocations: 31.69 kB / 0.5939 GB, free: 26.19 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001731/1.185, allocations: 21.81 kB / 0.5939 GB, free: 26.19 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003843/1.189, allocations: 0.7647 MB / 0.5946 GB, free: 26.18 MB / 462.1 MB 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.01736/1.206, allocations: 4.657 MB / 0.5992 GB, free: 23.46 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/1.208, allocations: 391.3 kB / 0.5996 GB, free: 23.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005517/1.208, allocations: 427 kB / 0.6 GB, free: 22.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/1.208, allocations: 40.58 kB / 0.6 GB, free: 22.93 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 5.661e-06/1.208, allocations: 0 / 0.6 GB, free: 22.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.004305/1.213, allocations: 0.8572 MB / 0.6008 GB, free: 22.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/1.213, allocations: 63.73 kB / 0.6009 GB, free: 22.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003607/1.216, allocations: 0.9925 MB / 0.6019 GB, free: 22.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002828/1.217, allocations: 38.14 kB / 0.6019 GB, free: 22.49 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008208/1.218, allocations: 0.5022 MB / 0.6024 GB, free: 22.27 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004071/1.218, allocations: 142.8 kB / 0.6025 GB, free: 22.18 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/1.218, allocations: 12.44 kB / 0.6026 GB, free: 22.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002206/1.218, allocations: 329.6 kB / 0.6029 GB, free: 21.87 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006888/1.219, allocations: 220.1 kB / 0.6031 GB, free: 21.87 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008614/1.22, allocations: 433.1 kB / 0.6035 GB, free: 21.63 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008085/1.221, allocations: 311.6 kB / 0.6038 GB, free: 21.62 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/1.221, allocations: 3.844 kB / 0.6038 GB, free: 21.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002959/1.224, allocations: 0.8049 MB / 0.6046 GB, free: 21.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00115/1.225, allocations: 2.177 MB / 0.6067 GB, free: 19.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/1.225, allocations: 4.969 kB / 0.6067 GB, free: 19.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006436/1.226, allocations: 89.27 kB / 0.6068 GB, free: 19.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00513/1.231, allocations: 113.8 kB / 0.6069 GB, free: 19.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/1.232, allocations: 0.6281 MB / 0.6075 GB, free: 18.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/1.234, allocations: 119 kB / 0.6076 GB, free: 18.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/1.234, allocations: 29.58 kB / 0.6077 GB, free: 18.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/1.234, allocations: 3 kB / 0.6077 GB, free: 18.66 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002228/1.236, allocations: 0.6771 MB / 0.6083 GB, free: 18.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/1.236, allocations: 13.48 kB / 0.6083 GB, free: 18.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003621/1.237, allocations: 59.7 kB / 0.6084 GB, free: 18.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006822/1.237, allocations: 112 kB / 0.6085 GB, free: 18.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/1.24, allocations: 1.743 MB / 0.6102 GB, free: 17.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002066/1.242, allocations: 98.28 kB / 0.6103 GB, free: 17.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/1.243, allocations: 32 kB / 0.6103 GB, free: 17.19 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001979/1.245, allocations: 485.5 kB / 0.6108 GB, free: 17 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006559/1.245, allocations: 91.72 kB / 0.6109 GB, free: 16.95 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/1.248, allocations: 0.6353 MB / 0.6115 GB, free: 16.88 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/1.248, allocations: 7.719 kB / 0.6115 GB, free: 16.88 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.248, allocations: 2.734 kB / 0.6115 GB, free: 16.88 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001599/1.249, allocations: 0.8217 MB / 0.6123 GB, free: 16.41 MB / 462.1 MB 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 postOpt removeSimpleEquations (simulation): time 0.01108/1.26, allocations: 1.702 MB / 0.614 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/1.26, allocations: 0.9688 kB / 0.614 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/1.261, allocations: 81.48 kB / 0.614 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001993/1.261, allocations: 47.75 kB / 0.6141 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.555e-05/1.261, allocations: 14.55 kB / 0.6141 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006025/1.262, allocations: 0.5627 MB / 0.6147 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/1.262, allocations: 5.375 kB / 0.6147 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/1.265, allocations: 0.983 MB / 0.6156 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001473/1.266, allocations: 287.9 kB / 0.6159 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002706/1.267, allocations: 15.11 kB / 0.6159 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/1.268, allocations: 74.62 kB / 0.616 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.917e-05/1.268, allocations: 28.11 kB / 0.616 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.984e-05/1.268, allocations: 25.94 kB / 0.616 GB, free: 14.97 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001984/1.27, allocations: 0.6998 MB / 0.6167 GB, free: 14.88 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.62e-07/1.27, allocations: 0 / 0.6167 GB, free: 14.88 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006505/1.277, allocations: 0.5698 MB / 0.6173 GB, free: 14.79 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004338/1.281, allocations: 1.97 MB / 0.6192 GB, free: 13.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003255/1.284, allocations: 0.9987 MB / 0.6202 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.284, allocations: 1.344 kB / 0.6202 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006917/1.285, allocations: 241.8 kB / 0.6204 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007002/1.292, allocations: 0.5645 MB / 0.621 GB, free: 13.37 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0243/1.316, allocations: 9.895 MB / 0.6306 GB, free: 6.867 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/1.318, allocations: 1.248 MB / 0.6318 GB, free: 5.961 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002649/1.32, allocations: 469.7 kB / 0.6323 GB, free: 5.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008797/1.321, allocations: 359.7 kB / 0.6326 GB, free: 5.73 MB / 462.1 MB Notification: Performance of SimCode: time 1.754e-06/1.321, allocations: 0 / 0.6326 GB, free: 5.73 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1633/1.485, allocations: 29.05 MB / 0.661 GB, free: 10.5 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004096/1.485, allocations: 278.1 kB / 0.6613 GB, free: 10.14 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.37/5.855, allocations: 0 / 0.6613 GB, free: 10.14 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1) Environment - environmentSimulation: