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.001143/0.001143, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 195.2 kB / 16.64 MB, free: 6.453 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.399/1.399, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.627/1.627, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.00159/0.00159, allocations: 73.5 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2341, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6147/0.8489, allocations: 171 MB / 0.9506 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007418/0.8563, allocations: 4.263 MB / 0.9548 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.8574, allocations: 21.59 kB / 0.9548 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.8587, allocations: 344.8 kB / 0.9551 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.8615, allocations: 0.9964 MB / 0.9561 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.8638, allocations: 0.8073 MB / 0.9569 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001869/0.8656, allocations: 1.285 MB / 0.9581 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006774/0.8663, allocations: 490.5 kB / 0.9586 GB, free: 448 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.8678, allocations: 0.6704 MB / 0.9593 GB, free: 356 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.8689, allocations: 458.1 kB / 0.9597 GB, free: 340 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.869, allocations: 55.34 kB / 0.9597 GB, free: 336 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.8709, allocations: 0.9084 MB / 0.9606 GB, free: 264 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002837/0.8712, allocations: 208.7 kB / 0.9608 GB, free: 264 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004563/0.8717, allocations: 330.9 kB / 0.9611 GB, free: 260 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002347/0.874, allocations: 1.129 MB / 0.9623 GB, free: 160 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.874, allocations: 0 / 0.9623 GB, free: 160 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.964e-06/0.874, allocations: 0 / 0.9623 GB, free: 160 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.8741, allocations: 0 / 0.9623 GB, free: 160 kB / 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.001995/0.8761, allocations: 0.951 MB / 0.9632 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.8761, allocations: 9.219 kB / 0.9632 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/0.8762, allocations: 86.45 kB / 0.9633 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/0.8779, allocations: 267.4 kB / 0.9635 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.8792, allocations: 497.7 kB / 0.964 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.087e-05/0.8792, allocations: 31.59 kB / 0.964 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.084e-05/0.8793, allocations: 49.91 kB / 0.9641 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.8808, allocations: 0.6044 MB / 0.9647 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.8808, allocations: 3.938 kB / 0.9647 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.463e-05/0.8809, allocations: 19.34 kB / 0.9647 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.622e-05/0.8809, allocations: 28.2 kB / 0.9647 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.8823, allocations: 0.5458 MB / 0.9653 GB, free: 15.07 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.004117/0.8865, allocations: 2.26 MB / 0.9675 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008885/0.8874, allocations: 280.7 kB / 0.9677 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005261/0.8879, allocations: 177.9 kB / 0.9679 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.8879, allocations: 1.938 kB / 0.9679 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.888, allocations: 32.94 kB / 0.9679 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 3.396e-06/0.888, allocations: 1.188 kB / 0.9679 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.004792/0.8928, allocations: 1.09 MB / 0.969 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.8929, allocations: 79.55 kB / 0.9691 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006088/0.8935, allocations: 0.5554 MB / 0.9696 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.826e-05/0.8935, allocations: 32.14 kB / 0.9696 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.8937, allocations: 299.4 kB / 0.9699 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.8938, allocations: 44.78 kB / 0.97 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.8939, allocations: 60 kB / 0.97 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.894, allocations: 357.9 kB / 0.9704 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005347/0.8945, allocations: 188.3 kB / 0.9705 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005803/0.8951, allocations: 272.5 kB / 0.9708 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.8962, allocations: 411.1 kB / 0.9712 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.8962, allocations: 1.125 kB / 0.9712 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002402/0.8986, allocations: 0.7309 MB / 0.9719 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.8986, allocations: 6.031 kB / 0.9719 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.8987, allocations: 6.094 kB / 0.9719 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005947/0.8993, allocations: 180 kB / 0.9721 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.8996, allocations: 77.88 kB / 0.9722 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003429/0.9031, allocations: 2.233 MB / 0.9744 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006407/0.9037, allocations: 74.77 kB / 0.9744 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.9038, allocations: 11.38 kB / 0.9744 GB, free: 11.02 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.0002695/0.904, allocations: 201.6 kB / 0.9746 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.544e-05/0.9041, allocations: 49.62 kB / 0.9747 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.864e-05/0.9042, allocations: 55.7 kB / 0.9747 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.9042, allocations: 0 / 0.9747 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.9042, allocations: 2.469 kB / 0.9747 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.9043, allocations: 0 / 0.9747 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002771/0.907, allocations: 1.13 MB / 0.9758 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.907, allocations: 0 / 0.9758 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.9073, allocations: 36.83 kB / 0.9759 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004952/0.9078, allocations: 188.7 kB / 0.976 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.9078, allocations: 3.031 kB / 0.9761 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003301/0.9111, allocations: 2.185 MB / 0.9782 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.9111, allocations: 1.781 kB / 0.9782 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.9136, allocations: 0.6986 MB / 0.9789 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/0.914, allocations: 174.2 kB / 0.979 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.089e-05/0.914, allocations: 3.531 kB / 0.979 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005301/0.9146, allocations: 47.27 kB / 0.9791 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.9146, allocations: 25.19 kB / 0.9791 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/0.9147, allocations: 11.64 kB / 0.9791 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004465/0.9151, allocations: 393.2 kB / 0.9795 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.4e-07/0.9151, allocations: 0 / 0.9795 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007171/0.9159, allocations: 176.8 kB / 0.9797 GB, free: 7.191 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.002958/0.9188, allocations: 1.326 MB / 0.981 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001563/0.9204, allocations: 0.5232 MB / 0.9815 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.9204, allocations: 6.438 kB / 0.9815 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006472/0.9211, allocations: 291.7 kB / 0.9818 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.9226, allocations: 310.5 kB / 0.9821 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.933, allocations: 5.056 MB / 0.987 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.9335, allocations: 0.8626 MB / 0.9878 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004346/0.9339, allocations: 98.33 kB / 0.9879 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.9341, allocations: 167.3 kB / 0.9881 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of SimCode: time 2.184e-06/0.9341, allocations: 0 / 0.9881 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03952/0.9737, allocations: 16.78 MB / 1.004 GB, free: 9.172 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.87, allocations: 9.312 kB / 1.004 GB, free: 9.172 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)