Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0007969/0.0007968, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006305/0.006305, allocations: 169 kB / 16.26 MB, free: 6.613 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.413/1.413, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7695/0.7695, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003868, allocations: 9.062 kB / 0.504 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.434, allocations: 81.57 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.7711/1.205, allocations: 335.7 MB / 0.9115 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04306/1.248, allocations: 36.33 MB / 0.947 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007872/1.256, allocations: 121.5 kB / 0.9471 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.007203/1.263, allocations: 1.974 MB / 0.949 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.02013/1.284, allocations: 5.385 MB / 0.9543 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01029/1.294, allocations: 2.736 MB / 0.957 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01776/1.312, allocations: 11.38 MB / 0.9681 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006202/1.318, allocations: 3.44 MB / 0.9714 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01179/1.33, allocations: 4.194 MB / 0.9755 GB, free: 13.11 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007192/1.337, allocations: 2.545 MB / 0.978 GB, free: 10.77 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001321/1.338, allocations: 120 kB / 0.9781 GB, free: 10.66 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01321/1.352, allocations: 5.718 MB / 0.9837 GB, free: 5.516 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00226/1.354, allocations: 0.9703 MB / 0.9847 GB, free: 4.559 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.004915/1.359, allocations: 1.772 MB / 0.9864 GB, free: 2.785 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01637/1.375, allocations: 7.049 MB / 0.9933 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.375, allocations: 0 / 0.9933 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.575e-06/1.375, allocations: 0 / 0.9933 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001992/1.376, allocations: 0 / 0.9933 GB, free: 12.07 MB / 0.6856 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.009717/1.385, allocations: 3.66 MB / 0.9969 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.385, allocations: 15.97 kB / 0.9969 GB, free: 8.359 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00858/1.394, allocations: 1.47 MB / 0.9983 GB, free: 6.887 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005764/1.4, allocations: 2.744 MB / 1.001 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001153/1.401, allocations: 481.2 kB / 1.001 GB, free: 3.641 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005923/1.401, allocations: 259.8 kB / 1.002 GB, free: 3.391 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007258/1.409, allocations: 3.409 MB / 1.005 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.248e-05/1.409, allocations: 0 / 1.005 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00028/1.409, allocations: 100 kB / 1.005 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/1.409, allocations: 108.8 kB / 1.005 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007522/1.417, allocations: 3.076 MB / 1.008 GB, free: 12.59 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.02364/1.44, allocations: 14.11 MB / 1.022 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003934/1.444, allocations: 1.608 MB / 1.024 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/1.446, allocations: 0.7013 MB / 1.024 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004775/1.446, allocations: 302.8 kB / 1.025 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001939/1.448, allocations: 0.8333 MB / 1.025 GB, free: 9.984 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001697/1.45, allocations: 109.6 kB / 1.025 GB, free: 9.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=106): time 3.586e-06/1.45, allocations: 4 kB / 1.025 GB, free: 9.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=106): time 0.006177/1.456, allocations: 2.182 MB / 1.028 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.386e-05/1.456, allocations: 111.8 kB / 1.028 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004428/1.461, allocations: 2.52 MB / 1.03 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002888/1.461, allocations: 49.7 kB / 1.03 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001491/1.463, allocations: 1.589 MB / 1.032 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005011/1.463, allocations: 385.4 kB / 1.032 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/1.463, allocations: 145.6 kB / 1.032 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.418e-05/1.464, allocations: 301.1 kB / 1.033 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/1.466, allocations: 0.7885 MB / 1.033 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002915/1.469, allocations: 1.543 MB / 1.035 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004333/1.473, allocations: 2.214 MB / 1.037 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/1.473, allocations: 4 kB / 1.037 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.006571/1.48, allocations: 2.531 MB / 1.039 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006074/1.48, allocations: 0.7397 MB / 1.04 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/1.48, allocations: 20 kB / 1.04 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.808e-05/1.48, allocations: 36 kB / 1.04 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00206/1.482, allocations: 483.3 kB / 1.041 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.397e-05/1.483, allocations: 43.8 kB / 1.041 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003706/1.486, allocations: 450.3 kB / 1.041 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/1.486, allocations: 91.97 kB / 1.041 GB, free: 8.652 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/1.486, allocations: 4 kB / 1.041 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005331/1.492, allocations: 2.235 MB / 1.043 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.527e-05/1.492, allocations: 31.88 kB / 1.043 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.392e-05/1.492, allocations: 28 kB / 1.044 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/1.494, allocations: 483.7 kB / 1.044 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.283e-05/1.494, allocations: 51.8 kB / 1.044 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003387/1.497, allocations: 362.8 kB / 1.044 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/1.498, allocations: 95.97 kB / 1.044 GB, free: 5.379 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * 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 (218): * Single equations (assignments): 215 * 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.001957/1.5, allocations: 0.8791 MB / 1.045 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006161/1.5, allocations: 268.6 kB / 1.046 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004111/1.504, allocations: 1.687 MB / 1.047 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/1.504, allocations: 8 kB / 1.047 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/1.504, allocations: 8 kB / 1.047 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003016/1.507, allocations: 1.325 MB / 1.049 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0117/1.519, allocations: 4.465 MB / 1.053 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/1.519, allocations: 4 kB / 1.053 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/1.521, allocations: 247.9 kB / 1.053 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002385/1.521, allocations: 48.83 kB / 1.053 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.482e-05/1.521, allocations: 35.98 kB / 1.053 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/1.522, allocations: 1.425 MB / 1.055 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/1.522, allocations: 11.88 kB / 1.055 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005617/1.528, allocations: 2.573 MB / 1.057 GB, free: 7.945 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/1.529, allocations: 481.8 kB / 1.058 GB, free: 7.453 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00035/1.529, allocations: 31.94 kB / 1.058 GB, free: 7.422 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002141/1.532, allocations: 248.1 kB / 1.058 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/1.532, allocations: 96.41 kB / 1.058 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/1.532, allocations: 47.97 kB / 1.058 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002906/1.535, allocations: 1.707 MB / 1.06 GB, free: 5.332 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.11e-07/1.535, allocations: 0 / 1.06 GB, free: 5.332 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004844/1.54, allocations: 1.576 MB / 1.061 GB, free: 3.754 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (105): * Single equations (assignments): 102 * 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.001063/1.541, allocations: 448.7 kB / 1.062 GB, free: 3.34 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.007045/1.548, allocations: 2.964 MB / 1.065 GB, free: 372 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-05/1.548, allocations: 8.125 kB / 1.065 GB, free: 364 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001898/1.55, allocations: 0.8235 MB / 1.065 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008403/1.558, allocations: 1.194 MB / 1.067 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/1.571, allocations: 6.944 MB / 1.073 GB, free: 7.297 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001921/1.573, allocations: 2.13 MB / 1.075 GB, free: 5.133 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003983/1.577, allocations: 0.7635 MB / 1.076 GB, free: 4.363 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005827/1.577, allocations: 187.4 kB / 1.076 GB, free: 4.18 MB / 0.7637 GB Notification: Performance of SimCode: time 1.282e-06/1.577, allocations: 0 / 1.076 GB, free: 4.18 MB / 0.7637 GB Notification: Performance of Templates: time 0.4228/2, allocations: 45.2 MB / 1.12 GB, free: 358.8 MB / 0.795 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)