Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0007994/0.0007994, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008873/0.0008872, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.013/1.013, allocations: 135.3 MB / 426.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 8 kB / 0.507 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2136, allocations: 82.32 MB / 0.5874 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.34/1.554, allocations: 347 MB / 0.9262 GB, free: 22.64 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.05694/1.611, allocations: 41.41 MB / 0.9667 GB, free: 21.92 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009966/1.621, allocations: 141.9 kB / 0.9668 GB, free: 21.92 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.008461/1.629, allocations: 1.787 MB / 0.9686 GB, free: 21.9 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02147/1.651, allocations: 5.282 MB / 0.9737 GB, free: 21.52 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01163/1.662, allocations: 2.787 MB / 0.9764 GB, free: 20.89 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02023/1.682, allocations: 13.07 MB / 0.9892 GB, free: 18.38 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008911/1.691, allocations: 3.944 MB / 0.9931 GB, free: 17.01 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01498/1.706, allocations: 4.868 MB / 0.9978 GB, free: 16.18 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00865/1.715, allocations: 3.281 MB / 1.001 GB, free: 15.11 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00174/1.717, allocations: 170.7 kB / 1.001 GB, free: 15.11 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01318/1.73, allocations: 3.359 MB / 1.004 GB, free: 13.01 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003153/1.733, allocations: 1.326 MB / 1.006 GB, free: 11.95 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003555/1.737, allocations: 0.999 MB / 1.007 GB, free: 11.29 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01226/1.749, allocations: 6.633 MB / 1.013 GB, free: 5.688 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/1.749, allocations: 0 / 1.013 GB, free: 5.688 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.855e-06/1.749, allocations: 0 / 1.013 GB, free: 5.688 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003002/1.75, allocations: 0 / 1.013 GB, free: 5.688 MB / 0.67 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.01327/1.763, allocations: 4.771 MB / 1.018 GB, free: 1.258 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.471e-05/1.763, allocations: 8.031 kB / 1.018 GB, free: 1.25 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/1.775, allocations: 1.91 MB / 1.02 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009199/1.784, allocations: 3.401 MB / 1.023 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001695/1.786, allocations: 0.702 MB / 1.024 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001339/1.787, allocations: 345.2 kB / 1.024 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/1.797, allocations: 4.604 MB / 1.029 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.236e-05/1.797, allocations: 0 / 1.029 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003444/1.798, allocations: 139.9 kB / 1.029 GB, free: 8.73 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/1.798, allocations: 137.7 kB / 1.029 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009602/1.807, allocations: 4.189 MB / 1.033 GB, free: 5.645 MB / 0.6856 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.03501/1.842, allocations: 18.8 MB / 1.051 GB, free: 5.199 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004527/1.847, allocations: 2.076 MB / 1.053 GB, free: 3.648 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00239/1.849, allocations: 1.083 MB / 1.054 GB, free: 2.883 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007449/1.85, allocations: 447.5 kB / 1.055 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002756/1.853, allocations: 1.269 MB / 1.056 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002126/1.855, allocations: 174.2 kB / 1.056 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=135): time 5.109e-06/1.855, allocations: 3.938 kB / 1.056 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of matching and sorting (n=135): time 0.008732/1.864, allocations: 3.32 MB / 1.059 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.73e-05/1.864, allocations: 141.8 kB / 1.06 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005864/1.87, allocations: 3.664 MB / 1.063 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003881/1.87, allocations: 69.31 kB / 1.063 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001734/1.872, allocations: 2.017 MB / 1.065 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006247/1.873, allocations: 471.5 kB / 1.066 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/1.873, allocations: 38.56 kB / 1.066 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.873, allocations: 374.2 kB / 1.066 GB, free: 9.871 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002821/1.876, allocations: 1.151 MB / 1.067 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003621/1.879, allocations: 1.826 MB / 1.069 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003003/1.882, allocations: 1.31 MB / 1.07 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/1.882, allocations: 4 kB / 1.07 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.007926/1.89, allocations: 3.267 MB / 1.073 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005511/1.891, allocations: 0.6004 MB / 1.074 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/1.891, allocations: 16 kB / 1.074 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.483e-05/1.891, allocations: 32.03 kB / 1.074 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002706/1.894, allocations: 0.5773 MB / 1.075 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.387e-05/1.894, allocations: 36.41 kB / 1.075 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005121/1.899, allocations: 0.628 MB / 1.075 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003072/1.899, allocations: 99.97 kB / 1.075 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/1.899, allocations: 4 kB / 1.075 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007525/1.907, allocations: 2.91 MB / 1.078 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.931e-05/1.907, allocations: 16 kB / 1.078 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-05/1.907, allocations: 28 kB / 1.078 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/1.91, allocations: 0.5773 MB / 1.079 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-05/1.91, allocations: 36.41 kB / 1.079 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004885/1.915, allocations: 0.5437 MB / 1.079 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003038/1.915, allocations: 91.97 kB / 1.079 GB, free: 12.62 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 226 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002819/1.918, allocations: 1.117 MB / 1.081 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009698/1.919, allocations: 375.3 kB / 1.081 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006426/1.925, allocations: 2.611 MB / 1.083 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/1.925, allocations: 16 kB / 1.083 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/1.925, allocations: 0 / 1.083 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00483/1.93, allocations: 2.206 MB / 1.086 GB, free: 6.168 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 postOpt removeSimpleEquations (simulation): time 0.01794/1.948, allocations: 7.116 MB / 1.093 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/1.948, allocations: 8 kB / 1.093 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001987/1.95, allocations: 375.5 kB / 1.093 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002453/1.95, allocations: 60.77 kB / 1.093 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/1.95, allocations: 39.98 kB / 1.093 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/1.952, allocations: 1.445 MB / 1.094 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/1.952, allocations: 15.94 kB / 1.094 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008837/1.961, allocations: 3.881 MB / 1.098 GB, free: 8.746 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002301/1.963, allocations: 0.6797 MB / 1.099 GB, free: 8.043 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006507/1.964, allocations: 43.98 kB / 1.099 GB, free: 8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003258/1.967, allocations: 438.1 kB / 1.099 GB, free: 7.574 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002275/1.967, allocations: 116.7 kB / 1.099 GB, free: 7.461 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/1.967, allocations: 67.92 kB / 1.1 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.004772/1.972, allocations: 2.541 MB / 1.102 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.1e-07/1.972, allocations: 0 / 1.102 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005855/1.978, allocations: 2.017 MB / 1.104 GB, free: 2.828 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * 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 (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001275/1.979, allocations: 490.3 kB / 1.104 GB, free: 2.367 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.009972/1.989, allocations: 4.061 MB / 1.108 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.444e-05/1.989, allocations: 320 / 1.108 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003055/1.993, allocations: 1.22 MB / 1.11 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01001/2.003, allocations: 1.913 MB / 1.111 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01931/2.022, allocations: 9.246 MB / 1.121 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002735/2.025, allocations: 2.663 MB / 1.123 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.005446/2.03, allocations: 0.9752 MB / 1.124 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/2.031, allocations: 263.4 kB / 1.124 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of SimCode: time 2.785e-06/2.031, allocations: 4 kB / 1.124 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of Templates: time 0.4794/2.511, allocations: 68.63 MB / 1.191 GB, free: 321.1 MB / 0.8106 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)