Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: translateModel(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001216, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001345/0.001345, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8109/0.8109, allocations: 135.1 MB / 426.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 64.12 kB / 0.506 GB, free: 8.383 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3277, allocations: 80.9 MB / 0.585 GB, free: 25.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.6876/1.015, allocations: 342.4 MB / 0.9194 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04953/1.065, allocations: 36.55 MB / 0.9551 GB, free: 2.508 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005032/1.07, allocations: 135.2 kB / 0.9552 GB, free: 2.375 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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-master/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.00671/1.077, allocations: 2.33 MB / 0.9575 GB, free: 32 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01602/1.093, allocations: 5.754 MB / 0.9631 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008146/1.101, allocations: 3.02 MB / 0.9661 GB, free: 7.262 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01237/1.113, allocations: 8.543 MB / 0.9744 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007599/1.121, allocations: 4.186 MB / 0.9785 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01162/1.133, allocations: 4.924 MB / 0.9833 GB, free: 5.48 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005627/1.138, allocations: 2.703 MB / 0.9859 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001474/1.14, allocations: 372 kB / 0.9863 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01113/1.151, allocations: 5.129 MB / 0.9913 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002224/1.153, allocations: 1.254 MB / 0.9925 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004436/1.158, allocations: 2.084 MB / 0.9946 GB, free: 9.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01363/1.171, allocations: 7.039 MB / 1.001 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.171, allocations: 0 / 1.001 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.964e-06/1.171, allocations: 4 kB / 1.001 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002227/1.172, allocations: 0 / 1.001 GB, free: 2.867 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.01079/1.182, allocations: 4.367 MB / 1.006 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/1.183, allocations: 13.11 kB / 1.006 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009066/1.192, allocations: 1.373 MB / 1.007 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007104/1.199, allocations: 2.727 MB / 1.01 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001232/1.2, allocations: 457.9 kB / 1.01 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009083/1.201, allocations: 256 kB / 1.01 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008617/1.21, allocations: 3.368 MB / 1.014 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.535e-05/1.21, allocations: 0 / 1.014 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004909/1.21, allocations: 112 kB / 1.014 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/1.21, allocations: 104.9 kB / 1.014 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008034/1.218, allocations: 2.982 MB / 1.017 GB, free: 2.816 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.02566/1.244, allocations: 14.36 MB / 1.031 GB, free: 3.363 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004022/1.248, allocations: 1.583 MB / 1.032 GB, free: 1.738 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/1.25, allocations: 0.6875 MB / 1.033 GB, free: 1.051 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004498/1.25, allocations: 308.3 kB / 1.033 GB, free: 0.6953 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2648/1.515, allocations: 0.8046 MB / 1.034 GB, free: 325.9 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=104): time 4.639e-06/1.515, allocations: 2.438 kB / 1.034 GB, free: 325.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=104): time 0.006428/1.522, allocations: 2.143 MB / 1.036 GB, free: 325.7 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/1.522, allocations: 122.4 kB / 1.036 GB, free: 325.6 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004694/1.526, allocations: 2.635 MB / 1.039 GB, free: 324.7 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002525/1.527, allocations: 53.52 kB / 1.039 GB, free: 324.7 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001273/1.528, allocations: 1.583 MB / 1.041 GB, free: 323.8 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003731/1.528, allocations: 375.3 kB / 1.041 GB, free: 323.5 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000649/1.529, allocations: 370.7 kB / 1.041 GB, free: 323.3 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 3.952e-05/1.529, allocations: 306.5 kB / 1.042 GB, free: 323 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002213/1.531, allocations: 0.785 MB / 1.042 GB, free: 322.8 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/1.534, allocations: 1.527 MB / 1.044 GB, free: 321.6 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003783/1.538, allocations: 2.21 MB / 1.046 GB, free: 320.2 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.996e-05/1.538, allocations: 5.156 kB / 1.046 GB, free: 320.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005531/1.543, allocations: 2.504 MB / 1.048 GB, free: 319.4 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.838e-05/1.543, allocations: 41.58 kB / 1.048 GB, free: 319.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.371e-05/1.543, allocations: 19.81 kB / 1.048 GB, free: 319.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.928e-05/1.543, allocations: 37.31 kB / 1.048 GB, free: 319.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/1.545, allocations: 479.9 kB / 1.049 GB, free: 319.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.194e-05/1.545, allocations: 43.58 kB / 1.049 GB, free: 319.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002871/1.548, allocations: 398.7 kB / 1.049 GB, free: 319.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/1.548, allocations: 93.03 kB / 1.049 GB, free: 319.1 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002976/1.551, allocations: 1.46 MB / 1.051 GB, free: 318.6 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002151/1.554, allocations: 1.517 MB / 1.052 GB, free: 317.4 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003464/1.557, allocations: 2.167 MB / 1.054 GB, free: 316 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.208e-05/1.557, allocations: 7.812 kB / 1.054 GB, free: 316 MB / 0.7481 GB Notification: Performance of matching and sorting (n=219) (initialization_lambda0): time 0.005394/1.562, allocations: 2.476 MB / 1.057 GB, free: 315 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/1.562, allocations: 40.11 kB / 1.057 GB, free: 315 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/1.563, allocations: 23 kB / 1.057 GB, free: 315 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/1.563, allocations: 39.31 kB / 1.057 GB, free: 315 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/1.564, allocations: 479.7 kB / 1.057 GB, free: 314.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.72e-05/1.564, allocations: 51.06 kB / 1.058 GB, free: 314.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002741/1.567, allocations: 335.7 kB / 1.058 GB, free: 314.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/1.567, allocations: 97.48 kB / 1.058 GB, free: 314.7 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (216): * Single equations (assignments): 213 * Array equations: 2 * 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.0004211/1.568, allocations: 300.9 kB / 1.058 GB, free: 314.4 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003669/1.568, allocations: 273.6 kB / 1.058 GB, free: 314.3 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003612/1.572, allocations: 1.656 MB / 1.06 GB, free: 313.4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/1.572, allocations: 22.92 kB / 1.06 GB, free: 313.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.572, allocations: 0 / 1.06 GB, free: 313.4 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002618/1.574, allocations: 1.296 MB / 1.061 GB, free: 312.7 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006988/1.581, allocations: 4.307 MB / 1.066 GB, free: 308.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/1.582, allocations: 4 kB / 1.066 GB, free: 308.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/1.583, allocations: 238.4 kB / 1.066 GB, free: 308 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002172/1.583, allocations: 52.83 kB / 1.066 GB, free: 308 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.911e-05/1.583, allocations: 31.98 kB / 1.066 GB, free: 307.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009107/1.584, allocations: 1.543 MB / 1.067 GB, free: 306.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.584, allocations: 4.812 kB / 1.067 GB, free: 306.2 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004631/1.589, allocations: 2.53 MB / 1.07 GB, free: 303.7 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/1.59, allocations: 0.4895 MB / 1.07 GB, free: 303.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000373/1.59, allocations: 32 kB / 1.07 GB, free: 303.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/1.592, allocations: 143.6 kB / 1.071 GB, free: 303 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/1.592, allocations: 91.88 kB / 1.071 GB, free: 302.9 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/1.592, allocations: 55.66 kB / 1.071 GB, free: 302.8 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00249/1.595, allocations: 1.795 MB / 1.072 GB, free: 301.1 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/1.595, allocations: 0 / 1.072 GB, free: 301.1 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003576/1.598, allocations: 1.525 MB / 1.074 GB, free: 299.6 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (103): * Single equations (assignments): 100 * 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.0008917/1.599, allocations: 440 kB / 1.074 GB, free: 299.2 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006771/1.606, allocations: 3.082 MB / 1.077 GB, free: 296.2 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.606, allocations: 4.75 kB / 1.077 GB, free: 296.2 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001671/1.608, allocations: 0.7877 MB / 1.078 GB, free: 295.4 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005645/1.613, allocations: 1.295 MB / 1.079 GB, free: 294.2 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00971/1.623, allocations: 5.777 MB / 1.085 GB, free: 288.3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/1.624, allocations: 2.11 MB / 1.087 GB, free: 286.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000825/1.625, allocations: 207.4 kB / 1.087 GB, free: 286 MB / 0.7481 GB Notification: Performance of SimCode: time 7.21e-07/1.625, allocations: 0 / 1.087 GB, free: 286 MB / 0.7481 GB Notification: Performance of Templates: time 0.0607/1.686, allocations: 55.54 MB / 1.142 GB, free: 230.7 MB / 0.7481 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)