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.004318/0.004318, allocations: 101 kB / 15.73 MB, free: 6.062 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.001215/0.001215, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002501/0.002501, allocations: 289.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9647/0.9647, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002734, allocations: 95.86 kB / 0.6809 GB, free: 7.492 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4223, allocations: 86.98 MB / 0.7659 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1821/0.6045, allocations: 171 MB / 0.9329 GB, free: 8.234 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006496/0.611, allocations: 4.295 MB / 0.9371 GB, free: 3.926 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005863/0.6116, allocations: 19.88 kB / 0.9371 GB, free: 3.906 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0009241/0.6125, allocations: 354 kB / 0.9374 GB, free: 3.559 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002163/0.6147, allocations: 0.9915 MB / 0.9384 GB, free: 2.562 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.6167, allocations: 0.8224 MB / 0.9392 GB, free: 1.746 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001514/0.6183, allocations: 1.294 MB / 0.9404 GB, free: 460 kB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006169/0.6189, allocations: 487.2 kB / 0.9409 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.62, allocations: 0.665 MB / 0.9416 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009149/0.6209, allocations: 450.2 kB / 0.942 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.001e-05/0.621, allocations: 52 kB / 0.942 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.6224, allocations: 0.9082 MB / 0.9429 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.6227, allocations: 219.4 kB / 0.9431 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003297/0.623, allocations: 330.5 kB / 0.9434 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.6245, allocations: 1.135 MB / 0.9446 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.6245, allocations: 0 / 0.9446 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6245, allocations: 0 / 0.9446 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.6245, allocations: 0 / 0.9446 GB, free: 12.23 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.001621/0.6262, allocations: 0.9728 MB / 0.9455 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.6262, allocations: 11.97 kB / 0.9455 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.6263, allocations: 82.52 kB / 0.9456 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.6279, allocations: 271.3 kB / 0.9459 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008527/0.6288, allocations: 0.4939 MB / 0.9463 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.6288, allocations: 37 kB / 0.9464 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.534e-05/0.6289, allocations: 40 kB / 0.9464 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.6301, allocations: 0.6146 MB / 0.947 GB, free: 9.59 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.6302, allocations: 0 / 0.947 GB, free: 9.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.657e-05/0.6302, allocations: 23.98 kB / 0.947 GB, free: 9.566 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/0.6303, allocations: 25 kB / 0.9471 GB, free: 9.543 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.6316, allocations: 0.5386 MB / 0.9476 GB, free: 9 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.003828/0.6354, allocations: 2.269 MB / 0.9498 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008462/0.6363, allocations: 278.4 kB / 0.9501 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004924/0.6368, allocations: 180.6 kB / 0.9502 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.6368, allocations: 0 / 0.9502 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.6369, allocations: 38.56 kB / 0.9503 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.6369, allocations: 0 / 0.9503 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.004835/0.6417, allocations: 1.088 MB / 0.9513 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.6418, allocations: 81.11 kB / 0.9514 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006329/0.6424, allocations: 0.5534 MB / 0.952 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.56e-05/0.6425, allocations: 29.7 kB / 0.952 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.6427, allocations: 308.1 kB / 0.9523 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.6428, allocations: 43.58 kB / 0.9523 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.6429, allocations: 65.64 kB / 0.9524 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.6431, allocations: 354.8 kB / 0.9527 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006036/0.6437, allocations: 195.8 kB / 0.9529 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006187/0.6443, allocations: 261.8 kB / 0.9532 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.6454, allocations: 410.8 kB / 0.9535 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.6454, allocations: 0 / 0.9535 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002527/0.6479, allocations: 0.728 MB / 0.9543 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.6479, allocations: 11.38 kB / 0.9543 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.648, allocations: 4 kB / 0.9543 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006245/0.6486, allocations: 184.7 kB / 0.9544 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/0.6489, allocations: 67.89 kB / 0.9545 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3481/0.997, allocations: 2.227 MB / 0.9567 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006862/0.9977, allocations: 74.06 kB / 0.9568 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.9978, allocations: 17.38 kB / 0.9568 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.0002769/0.9981, allocations: 193 kB / 0.957 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.9982, allocations: 51.38 kB / 0.957 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.9983, allocations: 53.91 kB / 0.9571 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.9983, allocations: 1.188 kB / 0.9571 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.9983, allocations: 3.078 kB / 0.9571 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.9983, allocations: 5.141 kB / 0.9571 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003079/1.001, allocations: 1.126 MB / 0.9582 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.001, allocations: 1.828 kB / 0.9582 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/1.002, allocations: 40.69 kB / 0.9582 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005973/1.002, allocations: 185.7 kB / 0.9584 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/1.002, allocations: 7.234 kB / 0.9584 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003379/1.006, allocations: 2.187 MB / 0.9605 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.006, allocations: 4.969 kB / 0.9605 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/1.008, allocations: 0.7066 MB / 0.9612 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/1.008, allocations: 170.2 kB / 0.9614 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.403e-05/1.008, allocations: 7.016 kB / 0.9614 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/1.009, allocations: 48.55 kB / 0.9614 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/1.009, allocations: 14.92 kB / 0.9615 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/1.009, allocations: 11.61 kB / 0.9615 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000433/1.009, allocations: 398.6 kB / 0.9618 GB, free: 187 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/1.009, allocations: 3.312 kB / 0.9618 GB, free: 187 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007127/1.01, allocations: 184 kB / 0.962 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.002759/1.013, allocations: 1.308 MB / 0.9633 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001491/1.014, allocations: 0.5251 MB / 0.9638 GB, free: 186 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.014, allocations: 4.969 kB / 0.9638 GB, free: 186 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006522/1.015, allocations: 301.2 kB / 0.9641 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/1.017, allocations: 308.2 kB / 0.9644 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/1.027, allocations: 5.083 MB / 0.9694 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/1.027, allocations: 0.8567 MB / 0.9702 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004116/1.027, allocations: 108.2 kB / 0.9703 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/1.028, allocations: 163.2 kB / 0.9705 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of SimCode: time 1.022e-06/1.028, allocations: 0 / 0.9705 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04132/1.069, allocations: 16.93 MB / 0.987 GB, free: 167 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.96, allocations: 24.14 kB / 0.987 GB, free: 167 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)