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.001093/0.001093, allocations: 108 kB / 15.61 MB, free: 152 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.001101/0.001101, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.265/1.265, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7143/0.7143, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001245, allocations: 69.05 kB / 0.5018 GB, free: 8.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1642, allocations: 80.21 MB / 0.5801 GB, free: 8.746 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.01/1.174, allocations: 379.2 MB / 0.9504 GB, free: 16.36 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04925/1.223, allocations: 44.41 MB / 0.9938 GB, free: 11.94 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008647/1.232, allocations: 175.7 kB / 0.994 GB, free: 11.94 MB / 0.67 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.008094/1.24, allocations: 2.808 MB / 0.9967 GB, free: 10.65 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01981/1.26, allocations: 7.279 MB / 1.004 GB, free: 7.43 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009426/1.27, allocations: 3.746 MB / 1.007 GB, free: 5.191 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01411/1.284, allocations: 11.51 MB / 1.019 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007746/1.291, allocations: 5.561 MB / 1.024 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01409/1.306, allocations: 6.356 MB / 1.03 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008625/1.314, allocations: 3.616 MB / 1.034 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001582/1.316, allocations: 500 kB / 1.034 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01822/1.334, allocations: 6.158 MB / 1.04 GB, free: 8.305 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.00361/1.338, allocations: 1.721 MB / 1.042 GB, free: 6.598 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.006645/1.344, allocations: 2.773 MB / 1.045 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01809/1.363, allocations: 9.168 MB / 1.054 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.363, allocations: 0 / 1.054 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.186e-06/1.363, allocations: 0 / 1.054 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0003086/1.363, allocations: 3.938 kB / 1.054 GB, free: 11.02 MB / 0.7169 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.01284/1.376, allocations: 5.65 MB / 1.059 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/1.376, allocations: 12.03 kB / 1.059 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01004/1.386, allocations: 1.79 MB / 1.061 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006911/1.393, allocations: 3.584 MB / 1.065 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001426/1.394, allocations: 0.5962 MB / 1.065 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005311/1.395, allocations: 352 kB / 1.065 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009088/1.404, allocations: 4.479 MB / 1.07 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-05/1.404, allocations: 7.938 kB / 1.07 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003285/1.404, allocations: 142 kB / 1.07 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001325/1.404, allocations: 134.5 kB / 1.07 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008782/1.413, allocations: 3.933 MB / 1.074 GB, free: 6.211 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.02876/1.442, allocations: 19.01 MB / 1.092 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003806/1.446, allocations: 1.777 MB / 1.094 GB, free: 168 kB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002014/1.448, allocations: 0.9099 MB / 1.095 GB, free: 15.26 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006575/1.449, allocations: 407.3 kB / 1.095 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002356/1.451, allocations: 1.077 MB / 1.097 GB, free: 13.69 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=129): time 3.126e-06/1.451, allocations: 0 / 1.097 GB, free: 13.69 MB / 0.7637 GB Notification: Performance of matching and sorting (n=129): time 0.007745/1.459, allocations: 2.846 MB / 1.099 GB, free: 10.81 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/1.459, allocations: 149.8 kB / 1.099 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00528/1.464, allocations: 3.507 MB / 1.103 GB, free: 7.113 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002491/1.464, allocations: 57.64 kB / 1.103 GB, free: 7.051 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001992/1.466, allocations: 2.147 MB / 1.105 GB, free: 4.895 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000529/1.467, allocations: 464.3 kB / 1.105 GB, free: 4.445 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007524/1.468, allocations: 488 kB / 1.106 GB, free: 3.961 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.468, allocations: 305.1 kB / 1.106 GB, free: 3.66 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00271/1.47, allocations: 1.049 MB / 1.107 GB, free: 2.602 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003454/1.474, allocations: 2.106 MB / 1.109 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005378/1.479, allocations: 3.068 MB / 1.112 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.087e-05/1.479, allocations: 8 kB / 1.112 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.007669/1.487, allocations: 3.39 MB / 1.116 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.019e-05/1.487, allocations: 47.42 kB / 1.116 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-05/1.487, allocations: 36 kB / 1.116 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.388e-05/1.487, allocations: 44 kB / 1.116 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/1.49, allocations: 0.6358 MB / 1.116 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-05/1.49, allocations: 59.8 kB / 1.116 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003623/1.493, allocations: 0.4957 MB / 1.117 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/1.494, allocations: 124 kB / 1.117 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004262/1.498, allocations: 1.957 MB / 1.119 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003374/1.501, allocations: 2.091 MB / 1.121 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005356/1.507, allocations: 3.006 MB / 1.124 GB, free: 15.6 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.954e-05/1.507, allocations: 8 kB / 1.124 GB, free: 15.59 MB / 0.795 GB Notification: Performance of matching and sorting (n=291) (initialization_lambda0): time 0.008086/1.515, allocations: 3.311 MB / 1.127 GB, free: 12.27 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.949e-05/1.515, allocations: 54.52 kB / 1.127 GB, free: 12.21 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-05/1.515, allocations: 32.09 kB / 1.127 GB, free: 12.18 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.527e-05/1.515, allocations: 51.98 kB / 1.127 GB, free: 12.12 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/1.517, allocations: 0.6279 MB / 1.128 GB, free: 11.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.997e-05/1.517, allocations: 63.78 kB / 1.128 GB, free: 11.43 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003875/1.521, allocations: 418.5 kB / 1.128 GB, free: 11.03 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002064/1.522, allocations: 124 kB / 1.128 GB, free: 10.91 MB / 0.795 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.0007095/1.522, allocations: 343.3 kB / 1.129 GB, free: 10.56 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/1.523, allocations: 359.4 kB / 1.129 GB, free: 10.21 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005543/1.529, allocations: 2.293 MB / 1.131 GB, free: 7.883 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/1.529, allocations: 12 kB / 1.131 GB, free: 7.871 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/1.529, allocations: 4 kB / 1.131 GB, free: 7.867 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003934/1.533, allocations: 1.921 MB / 1.133 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/1.545, allocations: 6.129 MB / 1.139 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/1.545, allocations: 8 kB / 1.139 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/1.547, allocations: 332.1 kB / 1.14 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002353/1.547, allocations: 52.83 kB / 1.14 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/1.547, allocations: 47.97 kB / 1.14 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/1.548, allocations: 1.551 MB / 1.141 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/1.548, allocations: 16 kB / 1.141 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007375/1.556, allocations: 3.351 MB / 1.144 GB, free: 9.895 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001946/1.558, allocations: 0.6133 MB / 1.145 GB, free: 9.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001057/1.559, allocations: 43.92 kB / 1.145 GB, free: 9.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002895/1.562, allocations: 183.8 kB / 1.145 GB, free: 9.035 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/1.562, allocations: 112.6 kB / 1.145 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/1.562, allocations: 63.95 kB / 1.145 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.004173/1.566, allocations: 2.371 MB / 1.148 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.81e-07/1.566, allocations: 0 / 1.148 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.006489/1.573, allocations: 2.002 MB / 1.15 GB, free: 4.473 MB / 0.8106 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.00118/1.574, allocations: 492.6 kB / 1.15 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01013/1.584, allocations: 4.085 MB / 1.154 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.786e-05/1.584, allocations: 4 kB / 1.154 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002547/1.587, allocations: 1.053 MB / 1.155 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008518/1.595, allocations: 1.732 MB / 1.157 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01644/1.612, allocations: 7.732 MB / 1.164 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002223/1.614, allocations: 2.658 MB / 1.167 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.004957/1.619, allocations: 1.065 MB / 1.168 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007054/1.62, allocations: 247.4 kB / 1.168 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of SimCode: time 1.183e-06/1.62, allocations: 0 / 1.168 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of Templates: time 0.3952/2.015, allocations: 63.41 MB / 1.23 GB, free: 345.4 MB / 0.8262 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)