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.001049/0.001049, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001102/0.001102, allocations: 194 kB / 16.25 MB, free: 6.633 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.281/1.281, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001962/0.001962, allocations: 290.8 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9315/0.9315, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.00166, allocations: 89.14 kB / 0.5948 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1478, allocations: 86.98 MB / 0.6797 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4302/0.578, allocations: 168.7 MB / 0.8445 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005482/0.5835, allocations: 4.258 MB / 0.8486 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005366/0.5841, allocations: 24.41 kB / 0.8486 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008847/0.5849, allocations: 310.5 kB / 0.8489 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.5871, allocations: 0.9304 MB / 0.8498 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.5889, allocations: 0.7389 MB / 0.8506 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001288/0.5902, allocations: 1.29 MB / 0.8518 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004964/0.5907, allocations: 467.1 kB / 0.8523 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009491/0.5917, allocations: 0.6803 MB / 0.8529 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008223/0.5925, allocations: 479.9 kB / 0.8534 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.26e-05/0.5926, allocations: 52.59 kB / 0.8534 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.5939, allocations: 0.9431 MB / 0.8544 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.5941, allocations: 222.8 kB / 0.8546 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003213/0.5944, allocations: 326.1 kB / 0.8549 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.5956, allocations: 1.178 MB / 0.856 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5956, allocations: 0 / 0.856 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5956, allocations: 0 / 0.856 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.5956, allocations: 2.375 kB / 0.856 GB, free: 9.773 MB / 0.5762 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.001461/0.5971, allocations: 0.9467 MB / 0.857 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.5971, allocations: 13.94 kB / 0.857 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.628e-05/0.5972, allocations: 83.97 kB / 0.8571 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.5989, allocations: 256.9 kB / 0.8573 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007435/0.5996, allocations: 485.1 kB / 0.8578 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003043/0.5999, allocations: 90.45 kB / 0.8579 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-05/0.6, allocations: 40.69 kB / 0.8579 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.6012, allocations: 0.6274 MB / 0.8585 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.6012, allocations: 0 / 0.8585 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.477e-05/0.6013, allocations: 20.28 kB / 0.8585 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/0.6013, allocations: 27.22 kB / 0.8586 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.6026, allocations: 0.557 MB / 0.8591 GB, free: 7.684 MB / 0.5762 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.003644/0.6063, allocations: 2.281 MB / 0.8613 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008942/0.6072, allocations: 284.2 kB / 0.8616 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005244/0.6077, allocations: 186.9 kB / 0.8618 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.6078, allocations: 0 / 0.8618 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.6078, allocations: 40.09 kB / 0.8618 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.6078, allocations: 0 / 0.8618 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.004884/0.6127, allocations: 1.106 MB / 0.8629 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.6127, allocations: 81.09 kB / 0.863 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005242/0.6133, allocations: 0.5527 MB / 0.8635 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.51e-05/0.6134, allocations: 28.27 kB / 0.8635 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.6136, allocations: 309.4 kB / 0.8638 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.6136, allocations: 35.27 kB / 0.8639 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.6137, allocations: 60.36 kB / 0.8639 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.6139, allocations: 359.8 kB / 0.8643 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005727/0.6145, allocations: 196.5 kB / 0.8644 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/0.6151, allocations: 272 kB / 0.8647 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.6162, allocations: 423.9 kB / 0.8651 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6162, allocations: 2.094 kB / 0.8651 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002537/0.6187, allocations: 0.738 MB / 0.8658 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.6188, allocations: 9.344 kB / 0.8658 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.6188, allocations: 2.562 kB / 0.8658 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005666/0.6194, allocations: 181.1 kB / 0.866 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.6197, allocations: 78.31 kB / 0.8661 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003691/0.6234, allocations: 2.238 MB / 0.8683 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005943/0.624, allocations: 81.36 kB / 0.8684 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.6241, allocations: 15.45 kB / 0.8684 GB, free: 0.8203 MB / 0.5762 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.0002183/0.6243, allocations: 185.7 kB / 0.8685 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.961e-05/0.6244, allocations: 50.94 kB / 0.8686 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.6245, allocations: 59.28 kB / 0.8687 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.6245, allocations: 2.281 kB / 0.8687 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.6245, allocations: 0 / 0.8687 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6245, allocations: 0 / 0.8687 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/0.6275, allocations: 1.139 MB / 0.8698 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6276, allocations: 3.938 kB / 0.8698 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.6278, allocations: 39.86 kB / 0.8698 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004945/0.6283, allocations: 188.6 kB / 0.87 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.6283, allocations: 2.75 kB / 0.87 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003404/0.6318, allocations: 2.188 MB / 0.8721 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6318, allocations: 3.984 kB / 0.8721 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.6343, allocations: 0.716 MB / 0.8728 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.6345, allocations: 160 kB / 0.873 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.54e-05/0.6346, allocations: 6.5 kB / 0.873 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006046/0.6352, allocations: 66.09 kB / 0.8731 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.6352, allocations: 17.95 kB / 0.8731 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.6353, allocations: 11.67 kB / 0.8731 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003882/0.6357, allocations: 397.5 kB / 0.8735 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6357, allocations: 0 / 0.8735 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005797/0.6363, allocations: 184.6 kB / 0.8736 GB, free: 12.91 MB / 0.5919 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.00297/0.6392, allocations: 1.33 MB / 0.8749 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.6408, allocations: 0.5299 MB / 0.8755 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.6408, allocations: 0 / 0.8755 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006927/0.6415, allocations: 308.3 kB / 0.8757 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.6428, allocations: 306.6 kB / 0.876 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/0.6543, allocations: 5.322 MB / 0.8812 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.6547, allocations: 0.8662 MB / 0.8821 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005033/0.6552, allocations: 106.2 kB / 0.8822 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.6554, allocations: 170.8 kB / 0.8823 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of SimCode: time 7.42e-07/0.6554, allocations: 0 / 0.8823 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3697/1.025, allocations: 16.59 MB / 0.8986 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002712/1.025, allocations: 317.7 kB / 0.8989 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/3.254, allocations: 0 / 0.8989 GB, free: 6.867 MB / 0.6075 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)