Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_10_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.004446/0.004446, allocations: 101.9 kB / 15.73 MB, free: 6.023 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.00132/0.00132, allocations: 196.4 kB / 16.68 MB, free: 5.934 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.221/1.221, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.226/2.226, allocations: 437.1 MB / 0.7106 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 60.09 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5947/0.5964, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.3501/0.9465, allocations: 380.1 MB / 1.537 GB, free: 6.242 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.5821/1.529, allocations: 46.51 MB / 1.583 GB, free: 17.93 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00459/1.533, allocations: 176.4 kB / 1.583 GB, free: 17.93 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.006165/1.54, allocations: 3.656 MB / 1.587 GB, free: 17.93 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01298/1.553, allocations: 7.595 MB / 1.594 GB, free: 17.71 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.006683/1.559, allocations: 3.981 MB / 1.598 GB, free: 17.61 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.01567/1.575, allocations: 17.33 MB / 1.615 GB, free: 17.56 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005379/1.58, allocations: 5.628 MB / 1.62 GB, free: 16.83 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009457/1.59, allocations: 6.368 MB / 1.627 GB, free: 16.75 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004774/1.595, allocations: 3.756 MB / 1.63 GB, free: 16.74 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0006041/1.595, allocations: 0.5061 MB / 1.631 GB, free: 16.74 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009745/1.605, allocations: 6.348 MB / 1.637 GB, free: 16.68 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001429/1.606, allocations: 2.005 MB / 1.639 GB, free: 16.59 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.002581/1.609, allocations: 3.145 MB / 1.642 GB, free: 15.71 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01015/1.619, allocations: 10.42 MB / 1.652 GB, free: 14.35 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/1.619, allocations: 0 / 1.652 GB, free: 14.35 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.603e-06/1.619, allocations: 0 / 1.652 GB, free: 14.35 MB / 1.279 GB Notification: Performance of Transformations before backend: time 8.176e-05/1.619, allocations: 0 / 1.652 GB, free: 14.35 MB / 1.279 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.008152/1.627, allocations: 6.679 MB / 1.659 GB, free: 11.2 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/1.627, allocations: 8.906 kB / 1.659 GB, free: 11.2 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004292/1.628, allocations: 475.5 kB / 1.659 GB, free: 11.14 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009526/1.637, allocations: 2.044 MB / 1.661 GB, free: 10.73 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007192/1.645, allocations: 5.902 MB / 1.667 GB, free: 9.707 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/1.645, allocations: 385.4 kB / 1.667 GB, free: 9.574 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003729/1.645, allocations: 343.7 kB / 1.668 GB, free: 9.574 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006398/1.652, allocations: 4.514 MB / 1.672 GB, free: 9.16 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.918e-05/1.652, allocations: 5.531 kB / 1.672 GB, free: 9.16 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000292/1.652, allocations: 143.1 kB / 1.672 GB, free: 9.16 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.368e-05/1.652, allocations: 135.6 kB / 1.672 GB, free: 9.152 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007038/1.659, allocations: 3.949 MB / 1.676 GB, free: 9.078 MB / 1.279 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.01929/1.678, allocations: 19.56 MB / 1.695 GB, free: 13.23 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003329/1.682, allocations: 1.754 MB / 1.697 GB, free: 12.75 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001743/1.683, allocations: 0.8979 MB / 1.698 GB, free: 12.61 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005791/1.684, allocations: 409.6 kB / 1.698 GB, free: 12.2 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002033/1.686, allocations: 1.051 MB / 1.699 GB, free: 11.85 MB / 1.295 GB Notification: Performance of pre-optimization done (n=127): time 2.786e-06/1.686, allocations: 0 / 1.699 GB, free: 11.85 MB / 1.295 GB Notification: Performance of matching and sorting (n=127): time 0.00656/1.693, allocations: 2.913 MB / 1.702 GB, free: 11.03 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/1.693, allocations: 146.8 kB / 1.702 GB, free: 10.88 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005175/1.698, allocations: 4.662 MB / 1.707 GB, free: 8.582 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/1.698, allocations: 58.64 kB / 1.707 GB, free: 8.539 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001826/1.7, allocations: 2.483 MB / 1.709 GB, free: 6.445 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004027/1.7, allocations: 486.8 kB / 1.71 GB, free: 5.977 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009213/1.701, allocations: 0.6901 MB / 1.71 GB, free: 5.277 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001092/1.701, allocations: 307.3 kB / 1.711 GB, free: 4.977 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002858/1.704, allocations: 1.366 MB / 1.712 GB, free: 3.602 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003705/1.708, allocations: 2.503 MB / 1.714 GB, free: 0.6133 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005868/1.714, allocations: 3.679 MB / 1.718 GB, free: 12.62 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/1.714, allocations: 8 kB / 1.718 GB, free: 12.61 MB / 1.311 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.007666/1.722, allocations: 4.271 MB / 1.722 GB, free: 8.543 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/1.722, allocations: 45.7 kB / 1.722 GB, free: 8.492 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.499e-05/1.722, allocations: 36 kB / 1.722 GB, free: 8.457 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.939e-05/1.722, allocations: 48.81 kB / 1.722 GB, free: 8.41 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/1.724, allocations: 0.7123 MB / 1.723 GB, free: 7.742 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-05/1.724, allocations: 71.25 kB / 1.723 GB, free: 7.688 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003189/1.728, allocations: 0.5371 MB / 1.724 GB, free: 7.148 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002193/1.728, allocations: 144 kB / 1.724 GB, free: 7.008 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004301/1.732, allocations: 2.509 MB / 1.726 GB, free: 4.492 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003651/1.736, allocations: 2.506 MB / 1.729 GB, free: 1.492 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00582/1.742, allocations: 3.684 MB / 1.732 GB, free: 13.49 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.417e-05/1.742, allocations: 12 kB / 1.732 GB, free: 13.48 MB / 1.326 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.007574/1.749, allocations: 4.266 MB / 1.736 GB, free: 9.406 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/1.749, allocations: 60.03 kB / 1.736 GB, free: 9.344 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.191e-05/1.749, allocations: 36 kB / 1.737 GB, free: 9.309 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.203e-05/1.749, allocations: 48 kB / 1.737 GB, free: 9.262 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002522/1.752, allocations: 0.7129 MB / 1.737 GB, free: 8.594 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.215e-05/1.752, allocations: 75.19 kB / 1.737 GB, free: 8.535 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003108/1.755, allocations: 443 kB / 1.738 GB, free: 8.102 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002143/1.755, allocations: 146.8 kB / 1.738 GB, free: 7.961 MB / 1.326 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.0004459/1.756, allocations: 360.3 kB / 1.738 GB, free: 7.645 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005349/1.756, allocations: 464.1 kB / 1.739 GB, free: 7.191 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004979/1.761, allocations: 2.296 MB / 1.741 GB, free: 4.895 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/1.761, allocations: 15.98 kB / 1.741 GB, free: 4.879 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.761, allocations: 4 kB / 1.741 GB, free: 4.875 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003953/1.765, allocations: 1.89 MB / 1.743 GB, free: 2.914 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/1.776, allocations: 6.69 MB / 1.749 GB, free: 12.09 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/1.776, allocations: 8 kB / 1.749 GB, free: 12.08 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/1.778, allocations: 323.2 kB / 1.75 GB, free: 11.78 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001923/1.778, allocations: 52.83 kB / 1.75 GB, free: 11.73 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/1.778, allocations: 51.92 kB / 1.75 GB, free: 11.68 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/1.779, allocations: 1.547 MB / 1.751 GB, free: 10 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/1.779, allocations: 15.28 kB / 1.751 GB, free: 9.992 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00654/1.786, allocations: 3.382 MB / 1.755 GB, free: 6.512 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/1.787, allocations: 0.7515 MB / 1.755 GB, free: 5.738 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004388/1.787, allocations: 36 kB / 1.755 GB, free: 5.703 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002157/1.789, allocations: 191.8 kB / 1.756 GB, free: 5.516 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/1.789, allocations: 117.5 kB / 1.756 GB, free: 5.41 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/1.79, allocations: 63.95 kB / 1.756 GB, free: 5.348 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.0042/1.794, allocations: 3.115 MB / 1.759 GB, free: 2.25 MB / 1.342 GB Notification: Performance of sort global known variables: time 2.3e-07/1.794, allocations: 0 / 1.759 GB, free: 2.25 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.004575/1.798, allocations: 2.319 MB / 1.761 GB, free: 15.92 MB / 1.357 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.007918/1.806, allocations: 4.456 MB / 1.765 GB, free: 11.4 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.008969/1.815, allocations: 4.848 MB / 1.77 GB, free: 6.777 MB / 1.357 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.815, allocations: 4 kB / 1.77 GB, free: 6.773 MB / 1.357 GB Notification: Performance of simCode: created simulation system equations: time 0.002297/1.818, allocations: 1.053 MB / 1.771 GB, free: 5.758 MB / 1.357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007253/1.825, allocations: 2.131 MB / 1.773 GB, free: 3.668 MB / 1.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04925/1.874, allocations: 33.49 MB / 1.806 GB, free: 0.9648 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002668/1.877, allocations: 3.015 MB / 1.809 GB, free: 13.92 MB / 1.404 GB Notification: Performance of simCode: alias equations: time 0.004013/1.881, allocations: 1.296 MB / 1.81 GB, free: 12.62 MB / 1.404 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002516/1.883, allocations: 2.104 MB / 1.812 GB, free: 10.52 MB / 1.404 GB Notification: Performance of SimCode: time 5.91e-07/1.883, allocations: 0 / 1.812 GB, free: 10.52 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.042/4.925, allocations: 107.9 MB / 1.918 GB, free: 15.99 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.29/37.21, allocations: 18.17 kB / 1.918 GB, free: 15.98 MB / 1.514 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust_fmu --startTime=0 --stopTime=172800 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.fmu > Buildings_10_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)