Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.CoupledVolumesWater,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="BuildingSystems_BuildingSystems_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.0008339/0.0008339, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005532/0.005532, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.314/1.314, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001682/0.001682, allocations: 255.3 kB / 291.7 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9394/0.9394, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003995, allocations: 15.45 kB / 0.5988 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1653, allocations: 88.54 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.04168/0.2071, allocations: 25.45 MB / 0.7101 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01551/0.2226, allocations: 7.097 MB / 0.717 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.2239, allocations: 35.75 kB / 0.717 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.2254, allocations: 314.2 kB / 0.7173 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004058/0.2295, allocations: 1.034 MB / 0.7184 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003514/0.233, allocations: 0.8628 MB / 0.7192 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004644/0.2376, allocations: 2.799 MB / 0.7219 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.2388, allocations: 0.5098 MB / 0.7224 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/0.2404, allocations: 0.5988 MB / 0.723 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.2416, allocations: 0.5287 MB / 0.7235 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.2417, allocations: 24 kB / 0.7236 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.244, allocations: 0.7756 MB / 0.7243 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002662/0.2442, allocations: 131.4 kB / 0.7244 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006146/0.2449, allocations: 367.9 kB / 0.7248 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00218/0.2471, allocations: 1.157 MB / 0.7259 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2471, allocations: 0 / 0.7259 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2471, allocations: 0 / 0.7259 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.305e-05/0.2471, allocations: 0 / 0.7259 GB, free: 5.207 MB / 0.5137 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.002056/0.2492, allocations: 0.9247 MB / 0.7268 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.2492, allocations: 12.03 kB / 0.7268 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001717/0.2494, allocations: 86.7 kB / 0.7269 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004893/0.2499, allocations: 88 kB / 0.727 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001844/0.2518, allocations: 0.7254 MB / 0.7277 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.2519, allocations: 36.94 kB / 0.7277 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.252, allocations: 47.91 kB / 0.7278 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.2533, allocations: 0.5001 MB / 0.7283 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.2533, allocations: 3.938 kB / 0.7283 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.476e-05/0.2534, allocations: 24 kB / 0.7283 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.655e-05/0.2534, allocations: 12 kB / 0.7283 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008841/0.2543, allocations: 323.7 kB / 0.7286 GB, free: 2.309 MB / 0.5137 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.004352/0.2587, allocations: 2.74 MB / 0.7313 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004859/0.2592, allocations: 198.5 kB / 0.7315 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.2595, allocations: 97.56 kB / 0.7316 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004484/0.2599, allocations: 340.8 kB / 0.7319 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.26, allocations: 46.44 kB / 0.7319 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=22): time 2.024e-06/0.26, allocations: 0 / 0.7319 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22): time 0.000857/0.2609, allocations: 308.1 kB / 0.7322 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.2609, allocations: 51.41 kB / 0.7323 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009731/0.2619, allocations: 0.5224 MB / 0.7328 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.862e-05/0.262, allocations: 29.7 kB / 0.7328 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000376/0.2624, allocations: 347.4 kB / 0.7332 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.2625, allocations: 78.84 kB / 0.7332 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.148e-05/0.2626, allocations: 41.7 kB / 0.7333 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000206/0.2628, allocations: 358.8 kB / 0.7336 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.2631, allocations: 91.94 kB / 0.7337 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.2635, allocations: 226 kB / 0.7339 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006835/0.2642, allocations: 345.4 kB / 0.7343 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.2642, allocations: 0 / 0.7343 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009748/0.2652, allocations: 396.4 kB / 0.7346 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001834/0.2654, allocations: 206.8 kB / 0.7348 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.2654, allocations: 8 kB / 0.7348 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.2655, allocations: 8 kB / 0.7348 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/0.2659, allocations: 79.84 kB / 0.7349 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.091e-05/0.2659, allocations: 11.92 kB / 0.7349 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006692/0.2666, allocations: 55.67 kB / 0.735 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/0.2667, allocations: 19.98 kB / 0.735 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.2667, allocations: 4 kB / 0.735 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007587/0.2675, allocations: 307.8 kB / 0.7353 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.2675, allocations: 4 kB / 0.7353 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.2675, allocations: 8 kB / 0.7353 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004242/0.268, allocations: 83.84 kB / 0.7354 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.268, allocations: 8 kB / 0.7354 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005981/0.2686, allocations: 55.75 kB / 0.7355 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.2687, allocations: 16 kB / 0.7355 GB, free: 10.72 MB / 0.5294 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.000392/0.2691, allocations: 289.5 kB / 0.7357 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.2692, allocations: 51.34 kB / 0.7358 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000725/0.27, allocations: 278.5 kB / 0.7361 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.27, allocations: 4 kB / 0.7361 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.27, allocations: 4 kB / 0.7361 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005677/0.2706, allocations: 387.6 kB / 0.7364 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.2728, allocations: 1.053 MB / 0.7375 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.2728, allocations: 4 kB / 0.7375 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000345/0.2732, allocations: 51.97 kB / 0.7375 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.2732, allocations: 7.938 kB / 0.7375 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.2732, allocations: 11.94 kB / 0.7375 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.2733, allocations: 7.984 kB / 0.7375 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2733, allocations: 0 / 0.7375 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009609/0.2742, allocations: 0.5142 MB / 0.738 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003515/0.2746, allocations: 196.1 kB / 0.7382 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.2747, allocations: 4 kB / 0.7382 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006553/0.2754, allocations: 25.34 kB / 0.7383 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.2755, allocations: 27.98 kB / 0.7383 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.438e-05/0.2755, allocations: 19.98 kB / 0.7383 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007554/0.2763, allocations: 399.1 kB / 0.7387 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2763, allocations: 0 / 0.7387 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001618/0.278, allocations: 343.3 kB / 0.739 GB, free: 6.859 MB / 0.5294 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.002068/0.28, allocations: 1.252 MB / 0.7402 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009758/0.281, allocations: 407.3 kB / 0.7406 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.2811, allocations: 0 / 0.7406 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.2813, allocations: 113.3 kB / 0.7407 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003377/0.2847, allocations: 377.7 kB / 0.7411 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009363/0.2941, allocations: 4.745 MB / 0.7457 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006592/0.2948, allocations: 0.8983 MB / 0.7466 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000971/0.2958, allocations: 157.1 kB / 0.7468 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/0.2962, allocations: 211.4 kB / 0.747 GB, free: 14.43 MB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/0.2962, allocations: 7.938 kB / 0.747 GB, free: 14.42 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04914/0.3454, allocations: 16.97 MB / 0.7635 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003224/0.3457, allocations: 262.8 kB / 0.7638 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.121/2.467, allocations: 8.062 kB / 0.7638 GB, free: 13.48 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)