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.001017/0.001017, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001347/0.001347, allocations: 168.7 kB / 15.95 MB, free: 204 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.284/1.284, allocations: 223.3 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7461/0.7461, allocations: 132.3 MB / 423.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002764/0.0002765, allocations: 8 kB / 0.5034 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3449, allocations: 81.58 MB / 0.5831 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.6071/0.952, allocations: 347 MB / 0.922 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03916/0.9912, allocations: 41.4 MB / 0.9624 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005283/0.9965, allocations: 144.1 kB / 0.9625 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005005/1.002, allocations: 1.79 MB / 0.9643 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01268/1.014, allocations: 5.277 MB / 0.9694 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007002/1.021, allocations: 2.791 MB / 0.9722 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01419/1.035, allocations: 13.06 MB / 0.9849 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005413/1.041, allocations: 3.961 MB / 0.9888 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009305/1.05, allocations: 4.859 MB / 0.9935 GB, free: 15.91 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005057/1.055, allocations: 3.281 MB / 0.9967 GB, free: 12.88 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0008567/1.056, allocations: 172 kB / 0.9969 GB, free: 12.71 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008757/1.065, allocations: 3.354 MB / 1 GB, free: 9.469 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001965/1.067, allocations: 1.33 MB / 1.001 GB, free: 8.156 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001876/1.069, allocations: 1.003 MB / 1.002 GB, free: 7.145 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008272/1.077, allocations: 6.633 MB / 1.009 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.077, allocations: 0 / 1.009 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.753e-06/1.077, allocations: 0 / 1.009 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002416/1.077, allocations: 0 / 1.009 GB, free: 0.8125 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.009361/1.087, allocations: 4.761 MB / 1.014 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/1.087, allocations: 12.03 kB / 1.014 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009819/1.097, allocations: 1.907 MB / 1.015 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005871/1.102, allocations: 3.418 MB / 1.019 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001493/1.104, allocations: 0.6892 MB / 1.019 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004488/1.104, allocations: 347.8 kB / 1.02 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008091/1.113, allocations: 4.6 MB / 1.024 GB, free: 0.9922 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.555e-05/1.113, allocations: 3.938 kB / 1.024 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003077/1.113, allocations: 136 kB / 1.024 GB, free: 0.8555 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/1.113, allocations: 138.5 kB / 1.025 GB, free: 0.7188 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008347/1.121, allocations: 4.187 MB / 1.029 GB, free: 12.52 MB / 0.7012 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.02328/1.145, allocations: 18.78 MB / 1.047 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004084/1.149, allocations: 2.072 MB / 1.049 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00224/1.151, allocations: 1.089 MB / 1.05 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000673/1.152, allocations: 444.8 kB / 1.05 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002577/1.154, allocations: 1.276 MB / 1.052 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001339/1.156, allocations: 181.9 kB / 1.052 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=135): time 3.006e-06/1.156, allocations: 0 / 1.052 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135): time 0.007661/1.163, allocations: 3.307 MB / 1.055 GB, free: 60 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/1.163, allocations: 145.8 kB / 1.055 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004774/1.168, allocations: 3.666 MB / 1.059 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001402/1.168, allocations: 57.7 kB / 1.059 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001597/1.17, allocations: 2.021 MB / 1.061 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003905/1.17, allocations: 476 kB / 1.061 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/1.171, allocations: 36 kB / 1.061 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.171, allocations: 377.8 kB / 1.062 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002768/1.173, allocations: 1.148 MB / 1.063 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003165/1.177, allocations: 1.824 MB / 1.065 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002891/1.18, allocations: 1.32 MB / 1.066 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/1.18, allocations: 8 kB / 1.066 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006844/1.186, allocations: 3.263 MB / 1.069 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003297/1.187, allocations: 0.5882 MB / 1.07 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/1.187, allocations: 20 kB / 1.07 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.391e-05/1.187, allocations: 28 kB / 1.07 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002545/1.189, allocations: 0.5773 MB / 1.07 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.942e-05/1.189, allocations: 35.91 kB / 1.07 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003991/1.193, allocations: 0.6289 MB / 1.071 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001849/1.194, allocations: 95.95 kB / 1.071 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.703e-06/1.194, allocations: 6.031 kB / 1.071 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006378/1.2, allocations: 2.913 MB / 1.074 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/1.2, allocations: 16 kB / 1.074 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/1.2, allocations: 28 kB / 1.074 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0025/1.203, allocations: 0.5697 MB / 1.074 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.119e-05/1.203, allocations: 39.86 kB / 1.075 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003453/1.206, allocations: 0.5395 MB / 1.075 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/1.206, allocations: 91.97 kB / 1.075 GB, free: 10.96 MB / 0.7481 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.001849/1.208, allocations: 1.124 MB / 1.076 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004358/1.209, allocations: 371.3 kB / 1.077 GB, free: 9.461 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005547/1.214, allocations: 2.616 MB / 1.079 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/1.214, allocations: 12 kB / 1.079 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.214, allocations: 4 kB / 1.079 GB, free: 6.797 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004417/1.219, allocations: 2.214 MB / 1.081 GB, free: 4.496 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 postOpt removeSimpleEquations (simulation): time 0.01268/1.231, allocations: 7.118 MB / 1.088 GB, free: 13.17 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/1.231, allocations: 8 kB / 1.088 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00186/1.233, allocations: 375.5 kB / 1.089 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000211/1.233, allocations: 56.83 kB / 1.089 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/1.234, allocations: 43.97 kB / 1.089 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/1.235, allocations: 1.432 MB / 1.09 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/1.235, allocations: 15.94 kB / 1.09 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007513/1.242, allocations: 3.883 MB / 1.094 GB, free: 7.09 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/1.243, allocations: 0.6877 MB / 1.095 GB, free: 6.379 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004236/1.244, allocations: 32 kB / 1.095 GB, free: 6.348 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002981/1.247, allocations: 447.3 kB / 1.095 GB, free: 5.91 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/1.247, allocations: 124.6 kB / 1.095 GB, free: 5.789 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/1.247, allocations: 63.95 kB / 1.095 GB, free: 5.727 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003687/1.251, allocations: 2.533 MB / 1.098 GB, free: 3.188 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.71e-07/1.251, allocations: 0 / 1.098 GB, free: 3.188 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004406/1.255, allocations: 2.019 MB / 1.1 GB, free: 1.164 MB / 0.7637 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.0009157/1.256, allocations: 0.4926 MB / 1.1 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.009033/1.265, allocations: 4.052 MB / 1.104 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/1.265, allocations: 4 kB / 1.104 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002691/1.268, allocations: 1.22 MB / 1.105 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007925/1.276, allocations: 1.906 MB / 1.107 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/1.291, allocations: 9.249 MB / 1.116 GB, free: 140 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2338/1.525, allocations: 2.66 MB / 1.119 GB, free: 339.3 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.004743/1.53, allocations: 0.9737 MB / 1.12 GB, free: 339.2 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008751/1.531, allocations: 263.8 kB / 1.12 GB, free: 339.2 MB / 0.7794 GB Notification: Performance of SimCode: time 7.82e-07/1.531, allocations: 3.312 kB / 1.12 GB, free: 339.2 MB / 0.7794 GB Notification: Performance of Templates: time 0.08995/1.621, allocations: 68.66 MB / 1.187 GB, free: 296.8 MB / 0.7794 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)