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.001045/0.001045, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001129/0.001128, allocations: 197.9 kB / 16.25 MB, free: 6.621 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.287/1.287, allocations: 205.1 MB / 222.1 MB, free: 4.633 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.662/1.662, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001376/0.001376, allocations: 65.14 kB / 0.6711 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1792, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4968/0.676, allocations: 168.7 MB / 0.9477 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00499/0.681, allocations: 4.237 MB / 0.9518 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005763/0.6816, allocations: 18.12 kB / 0.9519 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008406/0.6825, allocations: 317.2 kB / 0.9522 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.6845, allocations: 0.9267 MB / 0.9531 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.6863, allocations: 0.7379 MB / 0.9538 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001462/0.6877, allocations: 1.286 MB / 0.955 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006156/0.6884, allocations: 474.1 kB / 0.9555 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.6895, allocations: 0.6697 MB / 0.9562 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009081/0.6904, allocations: 487.6 kB / 0.9566 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.758e-05/0.6905, allocations: 56.25 kB / 0.9567 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.692, allocations: 0.9377 MB / 0.9576 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.6922, allocations: 219.3 kB / 0.9578 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000388/0.6926, allocations: 328.5 kB / 0.9581 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.6942, allocations: 1.163 MB / 0.9592 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6942, allocations: 4.953 kB / 0.9592 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6942, allocations: 0 / 0.9592 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.6942, allocations: 0.5312 kB / 0.9592 GB, free: 5.617 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.001594/0.6958, allocations: 0.9524 MB / 0.9602 GB, free: 21.03 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.6959, allocations: 10.06 kB / 0.9602 GB, free: 21.03 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.729e-05/0.696, allocations: 86.56 kB / 0.9603 GB, free: 20.99 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/0.6976, allocations: 260.8 kB / 0.9605 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007113/0.6983, allocations: 487.1 kB / 0.961 GB, free: 20.68 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003047/0.6987, allocations: 85.94 kB / 0.9611 GB, free: 20.68 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.6987, allocations: 42.16 kB / 0.9611 GB, free: 20.68 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.6999, allocations: 0.6174 MB / 0.9617 GB, free: 20.58 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.6999, allocations: 4.031 kB / 0.9617 GB, free: 20.58 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.499e-05/0.7, allocations: 19.66 kB / 0.9617 GB, free: 20.58 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.7, allocations: 17.03 kB / 0.9617 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.7014, allocations: 0.5602 MB / 0.9623 GB, free: 20.56 MB / 0.7481 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.00369/0.7051, allocations: 2.284 MB / 0.9645 GB, free: 19.5 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009/0.706, allocations: 299 kB / 0.9648 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005195/0.7065, allocations: 172.7 kB / 0.965 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.7066, allocations: 1.25 kB / 0.965 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.7066, allocations: 41.28 kB / 0.965 GB, free: 19.41 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.7066, allocations: 0 / 0.965 GB, free: 19.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.005102/0.7117, allocations: 1.103 MB / 0.9661 GB, free: 19.21 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.7118, allocations: 83.62 kB / 0.9662 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005494/0.7123, allocations: 0.5492 MB / 0.9667 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.7124, allocations: 31.2 kB / 0.9667 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.7125, allocations: 302.8 kB / 0.967 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.7126, allocations: 46.27 kB / 0.9671 GB, free: 18.77 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.7127, allocations: 61.73 kB / 0.9671 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.7128, allocations: 358.5 kB / 0.9675 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006053/0.7135, allocations: 191.1 kB / 0.9677 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006156/0.7141, allocations: 276.9 kB / 0.9679 GB, free: 18.33 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.7152, allocations: 419.7 kB / 0.9683 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7152, allocations: 4 kB / 0.9683 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002676/0.7179, allocations: 0.7354 MB / 0.969 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.7179, allocations: 9.094 kB / 0.969 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.7179, allocations: 2.641 kB / 0.9691 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005921/0.7185, allocations: 187.4 kB / 0.9692 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.7189, allocations: 73.19 kB / 0.9693 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003712/0.7227, allocations: 2.239 MB / 0.9715 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006882/0.7234, allocations: 80.52 kB / 0.9716 GB, free: 16.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.7234, allocations: 12.55 kB / 0.9716 GB, free: 16.7 MB / 0.7481 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.0002389/0.7236, allocations: 192.3 kB / 0.9718 GB, free: 16.59 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.68e-05/0.7237, allocations: 52.47 kB / 0.9718 GB, free: 16.56 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.508e-05/0.7238, allocations: 57.12 kB / 0.9719 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.7239, allocations: 1.344 kB / 0.9719 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.7239, allocations: 1.203 kB / 0.9719 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.7239, allocations: 0 / 0.9719 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/0.7268, allocations: 1.134 MB / 0.973 GB, free: 16.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.7268, allocations: 7.812 kB / 0.973 GB, free: 16.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.7271, allocations: 40.88 kB / 0.973 GB, free: 16.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004957/0.7276, allocations: 184.4 kB / 0.9732 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.7276, allocations: 6.656 kB / 0.9732 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00334/0.731, allocations: 2.189 MB / 0.9753 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.731, allocations: 4.281 kB / 0.9753 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/0.7335, allocations: 0.7066 MB / 0.976 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/0.7337, allocations: 167 kB / 0.9762 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.23e-05/0.7338, allocations: 11.61 kB / 0.9762 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006306/0.7344, allocations: 59.5 kB / 0.9763 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.7345, allocations: 18.08 kB / 0.9763 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.396e-05/0.7345, allocations: 18.12 kB / 0.9763 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003978/0.735, allocations: 388.7 kB / 0.9767 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7.21e-07/0.735, allocations: 1.5 kB / 0.9767 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006596/0.7356, allocations: 188.4 kB / 0.9768 GB, free: 14.35 MB / 0.7481 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.002953/0.7386, allocations: 1.319 MB / 0.9781 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001479/0.7401, allocations: 0.541 MB / 0.9787 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.7401, allocations: 1.062 kB / 0.9787 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006825/0.7408, allocations: 304.3 kB / 0.979 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.7421, allocations: 306.3 kB / 0.9792 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.7525, allocations: 5.307 MB / 0.9844 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.7529, allocations: 0.8594 MB / 0.9853 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000468/0.7534, allocations: 104.8 kB / 0.9854 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.7536, allocations: 163.6 kB / 0.9855 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of SimCode: time 3.51e-07/0.7536, allocations: 4 kB / 0.9855 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.7842, allocations: 16.57 MB / 1.002 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/0.7844, allocations: 304.4 kB / 1.002 GB, free: 4.586 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.046/2.83, allocations: 4 kB / 1.002 GB, free: 4.582 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)