Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater",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.006788/0.006788, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.00156/0.00156, allocations: 196.9 kB / 16.68 MB, free: 5.926 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8651/0.8651, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 61.28 kB / 0.5851 GB, free: 22.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1683, allocations: 80.93 MB / 0.6642 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02796/0.1963, allocations: 26.26 MB / 0.6898 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01081/0.2072, allocations: 7.122 MB / 0.6968 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/0.2087, allocations: 39.75 kB / 0.6968 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.2101, allocations: 381.5 kB / 0.6972 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003288/0.2134, allocations: 1.108 MB / 0.6982 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002771/0.2162, allocations: 0.9547 MB / 0.6992 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003213/0.2194, allocations: 2.088 MB / 0.7012 GB, free: 332 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.2205, allocations: 0.6202 MB / 0.7018 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002064/0.2226, allocations: 0.7478 MB / 0.7025 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009144/0.2235, allocations: 0.5405 MB / 0.7031 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.705e-05/0.2236, allocations: 52 kB / 0.7031 GB, free: 14.35 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.2255, allocations: 0.811 MB / 0.7039 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.2257, allocations: 175.4 kB / 0.7041 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005179/0.2262, allocations: 382.1 kB / 0.7044 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002125/0.2283, allocations: 1.212 MB / 0.7056 GB, free: 11.78 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.2283, allocations: 4 kB / 0.7056 GB, free: 11.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2284, allocations: 0 / 0.7056 GB, free: 11.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.2284, allocations: 0 / 0.7056 GB, free: 11.77 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001712/0.2301, allocations: 1.051 MB / 0.7067 GB, free: 10.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.2302, allocations: 9.109 kB / 0.7067 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.828e-05/0.2303, allocations: 86.7 kB / 0.7067 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000304/0.2306, allocations: 92 kB / 0.7068 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.2319, allocations: 0.7403 MB / 0.7076 GB, free: 9.691 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.026e-05/0.2319, allocations: 37 kB / 0.7076 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.358e-05/0.232, allocations: 51.91 kB / 0.7076 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007928/0.2328, allocations: 0.4962 MB / 0.7081 GB, free: 9.078 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.2328, allocations: 0 / 0.7081 GB, free: 9.078 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.288e-05/0.2329, allocations: 24 kB / 0.7082 GB, free: 9.055 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/0.2329, allocations: 15.94 kB / 0.7082 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005333/0.2335, allocations: 319.7 kB / 0.7085 GB, free: 8.727 MB / 0.545 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.00293/0.2364, allocations: 2.748 MB / 0.7112 GB, free: 5.738 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.2367, allocations: 190.5 kB / 0.7113 GB, free: 5.543 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.2369, allocations: 105.1 kB / 0.7114 GB, free: 5.438 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003301/0.2372, allocations: 348.5 kB / 0.7118 GB, free: 5.023 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.2373, allocations: 34.56 kB / 0.7118 GB, free: 4.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.393e-06/0.2373, allocations: 0 / 0.7118 GB, free: 4.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0005856/0.2379, allocations: 302.6 kB / 0.7121 GB, free: 4.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.2379, allocations: 55.41 kB / 0.7121 GB, free: 4.613 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006013/0.2385, allocations: 0.5263 MB / 0.7127 GB, free: 4.078 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.2386, allocations: 33.7 kB / 0.7127 GB, free: 4.039 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.2388, allocations: 351.3 kB / 0.713 GB, free: 3.691 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.02e-05/0.2389, allocations: 82.83 kB / 0.7131 GB, free: 3.609 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.2391, allocations: 85.48 kB / 0.7132 GB, free: 3.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.2392, allocations: 366.7 kB / 0.7135 GB, free: 3.152 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.2394, allocations: 100.8 kB / 0.7136 GB, free: 3.051 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.2397, allocations: 233.9 kB / 0.7139 GB, free: 2.758 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004255/0.2401, allocations: 336 kB / 0.7142 GB, free: 2.371 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2401, allocations: 0 / 0.7142 GB, free: 2.371 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006406/0.2408, allocations: 396.9 kB / 0.7146 GB, free: 1.977 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.2408, allocations: 10.03 kB / 0.7146 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.2408, allocations: 4 kB / 0.7146 GB, free: 1.965 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.2408, allocations: 8 kB / 0.7146 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.2412, allocations: 71.91 kB / 0.7146 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-05/0.2413, allocations: 11.88 kB / 0.7147 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/0.2417, allocations: 47.58 kB / 0.7147 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.2418, allocations: 16 kB / 0.7147 GB, free: 1.812 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003276/0.2421, allocations: 244.1 kB / 0.7149 GB, free: 1.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002621/0.2424, allocations: 237.9 kB / 0.7152 GB, free: 1.273 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003798/0.2428, allocations: 332 kB / 0.7155 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.246e-06/0.2428, allocations: 0 / 0.7155 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005365/0.2433, allocations: 388.7 kB / 0.7159 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.2433, allocations: 8 kB / 0.7159 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.2433, allocations: 7.938 kB / 0.7159 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.832e-06/0.2433, allocations: 8 kB / 0.7159 GB, free: 492 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.2436, allocations: 75.84 kB / 0.716 GB, free: 416 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.2436, allocations: 4 kB / 0.716 GB, free: 412 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.2439, allocations: 40.08 kB / 0.716 GB, free: 372 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.2439, allocations: 24 kB / 0.716 GB, free: 348 kB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * 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.0001356/0.2441, allocations: 201.9 kB / 0.7162 GB, free: 140 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-05/0.2442, allocations: 59.28 kB / 0.7163 GB, free: 80 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005077/0.2447, allocations: 286.4 kB / 0.7165 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.2447, allocations: 0 / 0.7165 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.2447, allocations: 4 kB / 0.7165 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003702/0.2451, allocations: 381.3 kB / 0.7169 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.2467, allocations: 1.053 MB / 0.7179 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.2467, allocations: 8.031 kB / 0.7179 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.2469, allocations: 55.91 kB / 0.718 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.2469, allocations: 4 kB / 0.718 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.2469, allocations: 8 kB / 0.718 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.2469, allocations: 7.938 kB / 0.718 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.247, allocations: 4 kB / 0.718 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000615/0.2476, allocations: 0.5113 MB / 0.7185 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.2478, allocations: 168.4 kB / 0.7187 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-05/0.2479, allocations: 16.06 kB / 0.7187 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003222/0.2482, allocations: 23.84 kB / 0.7187 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.2483, allocations: 31.98 kB / 0.7188 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.2483, allocations: 15.98 kB / 0.7188 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004517/0.2488, allocations: 411.1 kB / 0.7192 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2488, allocations: 0 / 0.7192 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001023/0.2498, allocations: 351.3 kB / 0.7195 GB, free: 12.55 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001463/0.2513, allocations: 1.254 MB / 0.7207 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006827/0.252, allocations: 414.2 kB / 0.7211 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.252, allocations: 0 / 0.7211 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.2521, allocations: 107.9 kB / 0.7212 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.2538, allocations: 374.6 kB / 0.7216 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00531/0.2592, allocations: 4.418 MB / 0.7259 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.2596, allocations: 0.8941 MB / 0.7268 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000507/0.2602, allocations: 159.7 kB / 0.7269 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.2604, allocations: 211.4 kB / 0.7271 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/0.2604, allocations: 8 kB / 0.7271 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03994/0.3004, allocations: 18.22 MB / 0.7449 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.001/9.301, allocations: 14.56 kB / 0.7449 GB, free: 2.473 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)