Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",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.004696/0.004696, allocations: 98.69 kB / 15.73 MB, free: 6.031 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.001256/0.001256, allocations: 194.8 kB / 16.67 MB, free: 5.961 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.217/1.217, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.471/2.471, allocations: 482.6 MB / 0.755 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 67.89 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2707, allocations: 162.3 MB / 1.242 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.8497/1.12, allocations: 380.3 MB / 1.613 GB, free: 10.26 MB / 1.311 GB Notification: Performance of NFInst.instExpressions: time 0.05467/1.175, allocations: 46.57 MB / 1.659 GB, free: 11.57 MB / 1.357 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0048/1.18, allocations: 175.1 kB / 1.659 GB, free: 11.39 MB / 1.357 GB Notification: Performance of NFTyping.typeComponents: time 0.007924/1.188, allocations: 3.645 MB / 1.662 GB, free: 7.734 MB / 1.357 GB Notification: Performance of NFTyping.typeBindings: time 0.0163/1.204, allocations: 7.603 MB / 1.67 GB, free: 104 kB / 1.357 GB Notification: Performance of NFTyping.typeClassSections: time 0.008243/1.213, allocations: 3.979 MB / 1.674 GB, free: 12.14 MB / 1.373 GB Notification: Performance of NFFlatten.flatten: time 0.02086/1.233, allocations: 16.87 MB / 1.69 GB, free: 11.25 MB / 1.389 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007184/1.241, allocations: 5.645 MB / 1.696 GB, free: 5.516 MB / 1.389 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0123/1.253, allocations: 6.863 MB / 1.702 GB, free: 14.63 MB / 1.404 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005696/1.259, allocations: 3.723 MB / 1.706 GB, free: 10.91 MB / 1.404 GB Notification: Performance of NFPackage.collectConstants: time 0.0007411/1.259, allocations: 0.5117 MB / 1.707 GB, free: 10.4 MB / 1.404 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0105/1.27, allocations: 6.322 MB / 1.713 GB, free: 4.062 MB / 1.404 GB Notification: Performance of NFScalarize.scalarize: time 0.001867/1.272, allocations: 1.998 MB / 1.715 GB, free: 2.055 MB / 1.404 GB Notification: Performance of NFVerifyModel.verify: time 0.003313/1.275, allocations: 3.153 MB / 1.718 GB, free: 14.88 MB / 1.42 GB Notification: Performance of NFConvertDAE.convert: time 0.01315/1.288, allocations: 10.41 MB / 1.728 GB, free: 4.438 MB / 1.42 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/1.288, allocations: 0 / 1.728 GB, free: 4.438 MB / 1.42 GB Notification: Performance of FrontEnd: time 1.513e-06/1.288, allocations: 0 / 1.728 GB, free: 4.438 MB / 1.42 GB Notification: Performance of Transformations before backend: time 7.017e-05/1.288, allocations: 0 / 1.728 GB, free: 4.438 MB / 1.42 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 864 * Number of variables: 864 Notification: Performance of Generate backend data structure: time 0.009937/1.298, allocations: 6.676 MB / 1.734 GB, free: 13.64 MB / 1.436 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/1.298, allocations: 8.031 kB / 1.734 GB, free: 13.63 MB / 1.436 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005425/1.299, allocations: 476.1 kB / 1.735 GB, free: 13.16 MB / 1.436 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/1.309, allocations: 2.037 MB / 1.737 GB, free: 11.11 MB / 1.436 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009054/1.318, allocations: 5.905 MB / 1.743 GB, free: 5.133 MB / 1.436 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003131/1.319, allocations: 381.5 kB / 1.743 GB, free: 4.734 MB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004617/1.319, allocations: 344 kB / 1.743 GB, free: 4.398 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007666/1.327, allocations: 4.513 MB / 1.748 GB, free: 15.77 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.688e-05/1.327, allocations: 3.938 kB / 1.748 GB, free: 15.76 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003046/1.327, allocations: 144 kB / 1.748 GB, free: 15.62 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/1.327, allocations: 138.4 kB / 1.748 GB, free: 15.49 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008215/1.335, allocations: 3.952 MB / 1.752 GB, free: 11.53 MB / 1.451 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.02471/1.36, allocations: 19.85 MB / 1.771 GB, free: 6.207 MB / 1.467 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003745/1.364, allocations: 1.753 MB / 1.773 GB, free: 4.406 MB / 1.467 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001988/1.366, allocations: 0.9051 MB / 1.774 GB, free: 3.5 MB / 1.467 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006109/1.367, allocations: 405.3 kB / 1.774 GB, free: 3.027 MB / 1.467 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002266/1.369, allocations: 1.053 MB / 1.775 GB, free: 1.953 MB / 1.467 GB Notification: Performance of pre-optimization done (n=127): time 2.705e-06/1.369, allocations: 4 kB / 1.775 GB, free: 1.949 MB / 1.467 GB Notification: Performance of matching and sorting (n=127): time 0.007175/1.376, allocations: 2.901 MB / 1.778 GB, free: 15.02 MB / 1.482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.397e-05/1.376, allocations: 145.5 kB / 1.778 GB, free: 14.85 MB / 1.482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005794/1.382, allocations: 4.65 MB / 1.783 GB, free: 10.21 MB / 1.482 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/1.382, allocations: 57.7 kB / 1.783 GB, free: 10.15 MB / 1.482 GB Notification: Performance of collectInitialEqns (initialization): time 0.001985/1.384, allocations: 2.489 MB / 1.785 GB, free: 7.641 MB / 1.482 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004053/1.384, allocations: 491.9 kB / 1.786 GB, free: 7.156 MB / 1.482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009215/1.385, allocations: 0.6862 MB / 1.786 GB, free: 6.461 MB / 1.482 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.385, allocations: 309.1 kB / 1.787 GB, free: 6.156 MB / 1.482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002843/1.388, allocations: 1.366 MB / 1.788 GB, free: 4.781 MB / 1.482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003719/1.392, allocations: 2.502 MB / 1.791 GB, free: 1.773 MB / 1.482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005958/1.398, allocations: 3.677 MB / 1.794 GB, free: 13.63 MB / 1.498 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/1.398, allocations: 8 kB / 1.794 GB, free: 13.62 MB / 1.498 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.007721/1.406, allocations: 4.266 MB / 1.798 GB, free: 9.336 MB / 1.498 GB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/1.406, allocations: 45.7 kB / 1.798 GB, free: 9.285 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.601e-05/1.406, allocations: 44.05 kB / 1.798 GB, free: 9.242 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.04e-05/1.406, allocations: 48 kB / 1.798 GB, free: 9.195 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002518/1.408, allocations: 0.7098 MB / 1.799 GB, free: 8.484 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.994e-05/1.409, allocations: 67.78 kB / 1.799 GB, free: 8.418 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003054/1.412, allocations: 0.5323 MB / 1.8 GB, free: 7.883 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/1.412, allocations: 139.9 kB / 1.8 GB, free: 7.746 MB / 1.498 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004321/1.416, allocations: 2.524 MB / 1.802 GB, free: 5.219 MB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003674/1.42, allocations: 2.502 MB / 1.805 GB, free: 2.211 MB / 1.498 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005865/1.426, allocations: 3.687 MB / 1.808 GB, free: 14.05 MB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.272e-05/1.426, allocations: 12 kB / 1.808 GB, free: 14.04 MB / 1.514 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.007746/1.433, allocations: 4.266 MB / 1.813 GB, free: 9.762 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 4.291e-05/1.434, allocations: 47.27 kB / 1.813 GB, free: 9.711 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.361e-05/1.434, allocations: 36 kB / 1.813 GB, free: 9.676 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.105e-05/1.434, allocations: 48 kB / 1.813 GB, free: 9.629 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002484/1.436, allocations: 0.7178 MB / 1.813 GB, free: 8.91 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.524e-05/1.436, allocations: 67.78 kB / 1.813 GB, free: 8.844 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003106/1.439, allocations: 438.4 kB / 1.814 GB, free: 8.414 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/1.44, allocations: 144 kB / 1.814 GB, free: 8.273 MB / 1.514 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (352): * Single equations (assignments): 346 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005068/1.44, allocations: 377.3 kB / 1.814 GB, free: 7.898 MB / 1.514 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005256/1.441, allocations: 453 kB / 1.815 GB, free: 7.453 MB / 1.514 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005073/1.446, allocations: 2.3 MB / 1.817 GB, free: 5.125 MB / 1.514 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/1.446, allocations: 19.94 kB / 1.817 GB, free: 5.105 MB / 1.514 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.446, allocations: 0 / 1.817 GB, free: 5.105 MB / 1.514 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004004/1.45, allocations: 1.894 MB / 1.819 GB, free: 3.125 MB / 1.514 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5253/1.975, allocations: 6.671 MB / 1.825 GB, free: 0.5007 GB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/1.975, allocations: 10 kB / 1.825 GB, free: 0.5007 GB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/1.977, allocations: 328.3 kB / 1.826 GB, free: 0.5007 GB / 1.514 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002099/1.977, allocations: 54.02 kB / 1.826 GB, free: 0.5007 GB / 1.514 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/1.977, allocations: 44.42 kB / 1.826 GB, free: 0.5007 GB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008539/1.978, allocations: 1.544 MB / 1.827 GB, free: 0.4994 GB / 1.514 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/1.978, allocations: 16.28 kB / 1.827 GB, free: 0.4994 GB / 1.514 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006688/1.984, allocations: 3.379 MB / 1.831 GB, free: 0.4982 GB / 1.514 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/1.986, allocations: 0.7505 MB / 1.831 GB, free: 0.4979 GB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004399/1.986, allocations: 41.89 kB / 1.831 GB, free: 0.4979 GB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002169/1.988, allocations: 192.2 kB / 1.832 GB, free: 0.4979 GB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/1.989, allocations: 121.9 kB / 1.832 GB, free: 0.4979 GB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/1.989, allocations: 62.23 kB / 1.832 GB, free: 0.4979 GB / 1.514 GB Notification: Performance of sorting global known variables: time 0.003874/1.993, allocations: 3.11 MB / 1.835 GB, free: 0.4968 GB / 1.514 GB Notification: Performance of sort global known variables: time 1.6e-07/1.993, allocations: 2.625 kB / 1.835 GB, free: 0.4968 GB / 1.514 GB Notification: Performance of remove unused functions: time 0.004378/1.997, allocations: 2.315 MB / 1.837 GB, free: 0.4966 GB / 1.514 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007391/2.004, allocations: 4.459 MB / 1.841 GB, free: 0.4945 GB / 1.514 GB Notification: Performance of simCode: created initialization part: time 0.008693/2.013, allocations: 4.851 MB / 1.846 GB, free: 0.493 GB / 1.514 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/2.013, allocations: 6.438 kB / 1.846 GB, free: 0.493 GB / 1.514 GB Notification: Performance of simCode: created simulation system equations: time 0.00217/2.015, allocations: 1.044 MB / 1.847 GB, free: 0.4926 GB / 1.514 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007541/2.023, allocations: 2.148 MB / 1.849 GB, free: 0.4921 GB / 1.514 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04777/2.071, allocations: 33.43 MB / 1.882 GB, free: 488.5 MB / 1.514 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002514/2.073, allocations: 3.021 MB / 1.885 GB, free: 487.4 MB / 1.514 GB Notification: Performance of simCode: alias equations: time 0.004406/2.078, allocations: 1.303 MB / 1.886 GB, free: 487.1 MB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001943/2.08, allocations: 2.091 MB / 1.888 GB, free: 485.4 MB / 1.514 GB Notification: Performance of SimCode: time 8.21e-07/2.08, allocations: 1.375 kB / 1.888 GB, free: 485.4 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.429/8.509, allocations: 107.7 MB / 1.993 GB, free: 402.6 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.41/34.92, allocations: 9.484 kB / 1.993 GB, free: 402.6 MB / 1.514 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust_fmu --startTime=0 --stopTime=172800 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.fmu > Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)