Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_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.0008882/0.0008883, allocations: 91.84 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.005228/0.005228, allocations: 169.5 kB / 16.26 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.727/1.727, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005074/0.0005075, allocations: 13.91 kB / 0.6744 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2214, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5884/0.8098, allocations: 166.5 MB / 0.9506 GB, free: 248 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005705/0.8155, allocations: 4.269 MB / 0.9548 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005194/0.8161, allocations: 18.06 kB / 0.9548 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009282/0.817, allocations: 299.4 kB / 0.9551 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002113/0.8191, allocations: 0.9329 MB / 0.956 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.8209, allocations: 0.7327 MB / 0.9567 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001615/0.8225, allocations: 1.784 MB / 0.9585 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005027/0.823, allocations: 408.1 kB / 0.9588 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009564/0.824, allocations: 0.5743 MB / 0.9594 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.825, allocations: 455.3 kB / 0.9598 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.258e-05/0.8251, allocations: 27.28 kB / 0.9599 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.8265, allocations: 0.9949 MB / 0.9608 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.8267, allocations: 181.1 kB / 0.961 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002927/0.827, allocations: 317.6 kB / 0.9613 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.8283, allocations: 1.129 MB / 0.9624 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.8283, allocations: 0 / 0.9624 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8283, allocations: 0 / 0.9624 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.8283, allocations: 1.469 kB / 0.9624 GB, free: 14.95 MB / 0.7325 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.001424/0.8297, allocations: 0.8448 MB / 0.9632 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.8298, allocations: 10.5 kB / 0.9632 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.8299, allocations: 90.16 kB / 0.9633 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.8315, allocations: 280 kB / 0.9636 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007716/0.8323, allocations: 489.6 kB / 0.9641 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003369/0.8327, allocations: 95.34 kB / 0.9642 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-05/0.8327, allocations: 41.22 kB / 0.9642 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.834, allocations: 0.6369 MB / 0.9648 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.834, allocations: 1.438 kB / 0.9648 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.728e-05/0.8341, allocations: 19.62 kB / 0.9648 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/0.8341, allocations: 23.64 kB / 0.9649 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.8356, allocations: 0.5927 MB / 0.9654 GB, free: 13.86 MB / 0.7325 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.003817/0.8394, allocations: 2.296 MB / 0.9677 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009934/0.8404, allocations: 321.7 kB / 0.968 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006172/0.841, allocations: 187.8 kB / 0.9682 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.8411, allocations: 5.156 kB / 0.9682 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.8411, allocations: 37.38 kB / 0.9682 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.8411, allocations: 0 / 0.9682 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.005431/0.8465, allocations: 1.182 MB / 0.9694 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.8466, allocations: 83.8 kB / 0.9694 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008259/0.8475, allocations: 0.5559 MB / 0.97 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.8475, allocations: 28.95 kB / 0.97 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.8477, allocations: 300 kB / 0.9703 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.8478, allocations: 40.95 kB / 0.9703 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.8478, allocations: 32.52 kB / 0.9704 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.848, allocations: 355.8 kB / 0.9707 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006623/0.8487, allocations: 215.3 kB / 0.9709 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007113/0.8494, allocations: 288.3 kB / 0.9712 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.8507, allocations: 458.3 kB / 0.9716 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.8507, allocations: 0 / 0.9716 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002834/0.8535, allocations: 0.789 MB / 0.9724 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.8535, allocations: 5.5 kB / 0.9724 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.8536, allocations: 2.906 kB / 0.9724 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000614/0.8542, allocations: 193.3 kB / 0.9726 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003985/0.8546, allocations: 82.72 kB / 0.9727 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003511/0.8581, allocations: 2.098 MB / 0.9747 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006834/0.8588, allocations: 90.81 kB / 0.9748 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.8588, allocations: 13.62 kB / 0.9748 GB, free: 8.961 MB / 0.7325 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.0002268/0.8591, allocations: 195.6 kB / 0.975 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.042e-05/0.8592, allocations: 62.81 kB / 0.9751 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.426e-05/0.8593, allocations: 43.97 kB / 0.9751 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.8593, allocations: 3.375 kB / 0.9751 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.8593, allocations: 7.922 kB / 0.9751 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.8593, allocations: 0 / 0.9751 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/0.8623, allocations: 1.18 MB / 0.9763 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.8624, allocations: 0 / 0.9763 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.8626, allocations: 53.05 kB / 0.9763 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005117/0.8632, allocations: 186.1 kB / 0.9765 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.8632, allocations: 10.05 kB / 0.9765 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003301/0.8665, allocations: 2.062 MB / 0.9785 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.8665, allocations: 9.453 kB / 0.9785 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/0.8691, allocations: 0.7626 MB / 0.9793 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.8694, allocations: 169.7 kB / 0.9794 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.517e-05/0.8694, allocations: 1.906 kB / 0.9794 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006252/0.8701, allocations: 65.28 kB / 0.9795 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.8701, allocations: 9.703 kB / 0.9795 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-05/0.8702, allocations: 15.7 kB / 0.9795 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003993/0.8706, allocations: 395.7 kB / 0.9799 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8706, allocations: 1.562 kB / 0.9799 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006212/0.8712, allocations: 193.7 kB / 0.9801 GB, free: 5.875 MB / 0.7325 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.003034/0.8742, allocations: 1.363 MB / 0.9814 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001546/0.8758, allocations: 0.5514 MB / 0.982 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.8758, allocations: 4 kB / 0.982 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007338/0.8766, allocations: 326.7 kB / 0.9823 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.8781, allocations: 298.1 kB / 0.9826 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.8889, allocations: 5.465 MB / 0.9879 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.8893, allocations: 0.8643 MB / 0.9887 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000411/0.8897, allocations: 101.8 kB / 0.9888 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.8899, allocations: 159.7 kB / 0.989 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.8899, allocations: 0 / 0.989 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5706/1.461, allocations: 15.94 MB / 1.005 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00033/1.461, allocations: 296.4 kB / 1.005 GB, free: 8.832 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.024/3.485, allocations: 0 / 1.005 GB, free: 8.832 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)