Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.00818/0.00818, allocations: 102 kB / 15.73 MB, free: 6.039 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.001908/0.001907, allocations: 193 kB / 16.67 MB, free: 5.961 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002228/0.002228, allocations: 293.3 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9363/0.9363, allocations: 169.3 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 99.86 kB / 0.6809 GB, free: 7.504 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.455/0.457, allocations: 86.98 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1614/0.6184, allocations: 171 MB / 0.9329 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006229/0.6247, allocations: 4.289 MB / 0.937 GB, free: 3.906 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007109/0.6255, allocations: 23.88 kB / 0.9371 GB, free: 3.883 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.6265, allocations: 354 kB / 0.9374 GB, free: 3.535 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.6288, allocations: 0.9954 MB / 0.9384 GB, free: 2.535 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.6308, allocations: 0.8214 MB / 0.9392 GB, free: 1.719 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001465/0.6322, allocations: 1.294 MB / 0.9404 GB, free: 432 kB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000674/0.6329, allocations: 483.3 kB / 0.9409 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.6341, allocations: 0.6732 MB / 0.9416 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009756/0.6351, allocations: 453.5 kB / 0.942 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.911e-05/0.6352, allocations: 52 kB / 0.942 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.6367, allocations: 0.9121 MB / 0.9429 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.6369, allocations: 219.4 kB / 0.9431 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000312/0.6372, allocations: 326.5 kB / 0.9435 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.6386, allocations: 1.137 MB / 0.9446 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.6386, allocations: 0 / 0.9446 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6386, allocations: 0 / 0.9446 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.6386, allocations: 0 / 0.9446 GB, free: 12.19 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001509/0.6401, allocations: 0.9544 MB / 0.9455 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.6402, allocations: 8.031 kB / 0.9455 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.6403, allocations: 82.53 kB / 0.9456 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/0.6419, allocations: 259.1 kB / 0.9458 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008168/0.6427, allocations: 0.4935 MB / 0.9463 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.6428, allocations: 37 kB / 0.9463 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.558e-05/0.6429, allocations: 40 kB / 0.9464 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.644, allocations: 0.6146 MB / 0.947 GB, free: 9.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.6441, allocations: 4 kB / 0.947 GB, free: 9.582 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.27e-05/0.6441, allocations: 16 kB / 0.947 GB, free: 9.566 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.953e-05/0.6442, allocations: 21 kB / 0.947 GB, free: 9.547 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.6455, allocations: 0.5464 MB / 0.9476 GB, free: 8.996 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.003588/0.6491, allocations: 2.26 MB / 0.9498 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008341/0.6499, allocations: 278.3 kB / 0.95 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004761/0.6504, allocations: 176.7 kB / 0.9502 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.6504, allocations: 0 / 0.9502 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.6505, allocations: 38.56 kB / 0.9502 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.6505, allocations: 3.938 kB / 0.9502 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.004851/0.6553, allocations: 1.088 MB / 0.9513 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.6554, allocations: 85.09 kB / 0.9514 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005601/0.656, allocations: 0.5534 MB / 0.9519 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.656, allocations: 29.7 kB / 0.952 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.6562, allocations: 299.5 kB / 0.9522 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/0.6562, allocations: 39.44 kB / 0.9523 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.6564, allocations: 61.61 kB / 0.9523 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.6565, allocations: 358.8 kB / 0.9527 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005378/0.657, allocations: 187.8 kB / 0.9529 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005656/0.6576, allocations: 265.8 kB / 0.9531 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.6586, allocations: 415.5 kB / 0.9535 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6586, allocations: 0 / 0.9535 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002496/0.6611, allocations: 0.72 MB / 0.9542 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.6612, allocations: 15.98 kB / 0.9542 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6612, allocations: 4 kB / 0.9542 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005781/0.6617, allocations: 180.7 kB / 0.9544 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.6621, allocations: 71.88 kB / 0.9545 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3532/1.015, allocations: 2.216 MB / 0.9566 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006776/1.016, allocations: 80.52 kB / 0.9567 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/1.016, allocations: 12.06 kB / 0.9567 GB, free: 189.7 MB / 0.7169 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002541/1.016, allocations: 191.8 kB / 0.9569 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/1.016, allocations: 51.53 kB / 0.957 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/1.017, allocations: 54.09 kB / 0.957 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.017, allocations: 4 kB / 0.957 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/1.017, allocations: 4.625 kB / 0.957 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/1.017, allocations: 0.9844 kB / 0.957 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003115/1.02, allocations: 1.124 MB / 0.9581 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.02, allocations: 0.5938 kB / 0.9581 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/1.02, allocations: 41.91 kB / 0.9582 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005645/1.021, allocations: 185.5 kB / 0.9583 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/1.021, allocations: 6.781 kB / 0.9583 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003303/1.024, allocations: 2.182 MB / 0.9605 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.024, allocations: 1.281 kB / 0.9605 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002326/1.026, allocations: 0.7024 MB / 0.9612 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/1.026, allocations: 172.3 kB / 0.9613 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-05/1.027, allocations: 2.422 kB / 0.9613 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005367/1.027, allocations: 49.55 kB / 0.9614 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/1.027, allocations: 10.64 kB / 0.9614 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/1.027, allocations: 20.95 kB / 0.9614 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004475/1.028, allocations: 394.7 kB / 0.9618 GB, free: 187 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.028, allocations: 0 / 0.9618 GB, free: 187 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000602/1.028, allocations: 184.2 kB / 0.9619 GB, free: 187 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002886/1.031, allocations: 1.319 MB / 0.9632 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001413/1.033, allocations: 0.5261 MB / 0.9638 GB, free: 186 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.033, allocations: 1.375 kB / 0.9638 GB, free: 186 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006347/1.033, allocations: 304.1 kB / 0.964 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/1.034, allocations: 304.3 kB / 0.9643 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009943/1.044, allocations: 5.065 MB / 0.9693 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/1.045, allocations: 0.8582 MB / 0.9701 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004035/1.045, allocations: 108 kB / 0.9702 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/1.045, allocations: 166.5 kB / 0.9704 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/1.045, allocations: 0 / 0.9704 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03626/1.082, allocations: 17.21 MB / 0.9872 GB, free: 166.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/12.11, allocations: 14.81 kB / 0.9872 GB, free: 166.6 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)