Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 104.7 kB / 16.27 MB, free: 5.98 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.001233/0.001233, allocations: 187.7 kB / 17.19 MB, free: 5.605 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.4/1.4, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8646/0.8646, allocations: 132.2 MB / 423.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 59.89 kB / 0.5024 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3971, allocations: 80.19 MB / 0.5807 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.7536/1.151, allocations: 379.2 MB / 0.9511 GB, free: 7.926 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.06738/1.218, allocations: 44.42 MB / 0.9945 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007436/1.226, allocations: 171.1 kB / 0.9946 GB, free: 11.2 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.008641/1.234, allocations: 2.812 MB / 0.9974 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02131/1.256, allocations: 7.278 MB / 1.004 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01152/1.267, allocations: 3.749 MB / 1.008 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.02059/1.288, allocations: 11.5 MB / 1.019 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01096/1.299, allocations: 5.57 MB / 1.025 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01478/1.314, allocations: 6.349 MB / 1.031 GB, free: 5.812 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007414/1.321, allocations: 3.611 MB / 1.035 GB, free: 2.203 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001933/1.323, allocations: 496 kB / 1.035 GB, free: 1.719 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4859/1.809, allocations: 6.149 MB / 1.041 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002987/1.812, allocations: 1.725 MB / 1.043 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.006057/1.818, allocations: 2.774 MB / 1.045 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01703/1.835, allocations: 9.175 MB / 1.054 GB, free: 18 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.835, allocations: 0.9062 kB / 1.054 GB, free: 18 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.893e-06/1.835, allocations: 2.438 kB / 1.054 GB, free: 18 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002482/1.836, allocations: 0.9062 kB / 1.054 GB, free: 18 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 856 * Number of variables: 856 Notification: Performance of Generate backend data structure: time 0.01312/1.849, allocations: 5.647 MB / 1.06 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/1.849, allocations: 10.44 kB / 1.06 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/1.86, allocations: 1.795 MB / 1.062 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008685/1.869, allocations: 3.582 MB / 1.065 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001577/1.871, allocations: 0.5956 MB / 1.066 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001326/1.872, allocations: 345.2 kB / 1.066 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01092/1.883, allocations: 4.485 MB / 1.07 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/1.883, allocations: 8.469 kB / 1.07 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004617/1.884, allocations: 138.5 kB / 1.071 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001508/1.884, allocations: 131.9 kB / 1.071 GB, free: 14 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/1.894, allocations: 3.933 MB / 1.075 GB, free: 13.92 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.03054/1.925, allocations: 19.01 MB / 1.093 GB, free: 20.48 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004104/1.929, allocations: 1.772 MB / 1.095 GB, free: 20.22 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002174/1.931, allocations: 0.9041 MB / 1.096 GB, free: 20.2 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007642/1.932, allocations: 420.2 kB / 1.096 GB, free: 19.81 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00261/1.934, allocations: 1.074 MB / 1.097 GB, free: 19.7 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=129): time 3.306e-06/1.934, allocations: 0 / 1.097 GB, free: 19.7 MB / 0.7637 GB Notification: Performance of matching and sorting (n=129): time 0.008344/1.943, allocations: 2.852 MB / 1.1 GB, free: 19.29 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/1.943, allocations: 144.6 kB / 1.1 GB, free: 19.13 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007508/1.95, allocations: 3.5 MB / 1.104 GB, free: 18.8 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0004461/1.951, allocations: 61.2 kB / 1.104 GB, free: 18.77 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002095/1.953, allocations: 2.145 MB / 1.106 GB, free: 17.98 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005907/1.954, allocations: 464.3 kB / 1.106 GB, free: 17.7 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001244/1.955, allocations: 488.8 kB / 1.107 GB, free: 17.66 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.955, allocations: 309.1 kB / 1.107 GB, free: 17.36 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002962/1.958, allocations: 1.044 MB / 1.108 GB, free: 17.31 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00352/1.962, allocations: 2.115 MB / 1.11 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005904/1.967, allocations: 3.063 MB / 1.113 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.998e-05/1.968, allocations: 8.406 kB / 1.113 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.008521/1.976, allocations: 3.375 MB / 1.116 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 7.146e-05/1.976, allocations: 47.88 kB / 1.116 GB, free: 14.33 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-05/1.976, allocations: 38.88 kB / 1.116 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.519e-05/1.976, allocations: 44 kB / 1.116 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00283/1.979, allocations: 0.6309 MB / 1.117 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.653e-05/1.979, allocations: 68.34 kB / 1.117 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00439/1.984, allocations: 495.5 kB / 1.118 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003073/1.984, allocations: 126.3 kB / 1.118 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004805/1.989, allocations: 1.96 MB / 1.12 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003639/1.992, allocations: 2.087 MB / 1.122 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005939/1.998, allocations: 3.002 MB / 1.125 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.898e-05/1.998, allocations: 12.22 kB / 1.125 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of matching and sorting (n=291) (initialization_lambda0): time 0.008656/2.007, allocations: 3.323 MB / 1.128 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.881e-05/2.007, allocations: 49.58 kB / 1.128 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.113e-05/2.007, allocations: 30.38 kB / 1.128 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.16e-05/2.007, allocations: 47.62 kB / 1.128 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002673/2.01, allocations: 0.6252 MB / 1.129 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.434e-05/2.01, allocations: 72.11 kB / 1.129 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004234/2.014, allocations: 420 kB / 1.129 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000258/2.015, allocations: 127.9 kB / 1.129 GB, free: 10.92 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 143 * 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 (287): * Single equations (assignments): 283 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * 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.0007569/2.015, allocations: 347.9 kB / 1.129 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009479/2.016, allocations: 358.5 kB / 1.13 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005745/2.022, allocations: 2.296 MB / 1.132 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/2.022, allocations: 11.5 kB / 1.132 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/2.022, allocations: 3.75 kB / 1.132 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004161/2.026, allocations: 1.911 MB / 1.134 GB, free: 9.816 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/2.04, allocations: 6.146 MB / 1.14 GB, free: 8.734 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-05/2.04, allocations: 7.531 kB / 1.14 GB, free: 8.734 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/2.042, allocations: 319.7 kB / 1.14 GB, free: 8.727 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002459/2.042, allocations: 58.5 kB / 1.14 GB, free: 8.719 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/2.043, allocations: 42.36 kB / 1.14 GB, free: 8.719 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/2.044, allocations: 1.546 MB / 1.142 GB, free: 7.367 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/2.044, allocations: 14.19 kB / 1.142 GB, free: 7.367 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007793/2.052, allocations: 3.349 MB / 1.145 GB, free: 6.395 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001876/2.054, allocations: 0.6106 MB / 1.146 GB, free: 5.883 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001065/2.055, allocations: 40.42 kB / 1.146 GB, free: 5.859 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003073/2.058, allocations: 186 kB / 1.146 GB, free: 5.695 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/2.058, allocations: 111.8 kB / 1.146 GB, free: 5.609 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001851/2.058, allocations: 71.2 kB / 1.146 GB, free: 5.551 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.005286/2.064, allocations: 2.371 MB / 1.148 GB, free: 3.824 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.1e-07/2.064, allocations: 0 / 1.148 GB, free: 3.824 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.007762/2.071, allocations: 1.991 MB / 1.15 GB, free: 1.934 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 4 (conPI.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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 (127): * Single equations (assignments): 124 * 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.001358/2.073, allocations: 0.4966 MB / 1.151 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01214/2.085, allocations: 4.087 MB / 1.155 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.738e-05/2.085, allocations: 5.688 kB / 1.155 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002855/2.088, allocations: 1.013 MB / 1.156 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009585/2.097, allocations: 1.73 MB / 1.158 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01959/2.117, allocations: 7.912 MB / 1.165 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003715/2.121, allocations: 2.641 MB / 1.168 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/2.122, allocations: 274 kB / 1.168 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of SimCode: time 7.11e-07/2.122, allocations: 0 / 1.168 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of Templates: time 0.119/2.241, allocations: 74.1 MB / 1.24 GB, free: 9.918 MB / 0.8575 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)