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.0009039/0.000904, allocations: 97.64 kB / 15.36 MB, free: 0.7305 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.001143/0.001143, allocations: 171.5 kB / 16.26 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.418/1.418, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9956/0.9956, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003788, allocations: 8.188 kB / 0.5076 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1667, allocations: 82.32 MB / 0.588 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.271/1.438, allocations: 372 MB / 0.9513 GB, free: 16.32 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.05739/1.495, allocations: 44.16 MB / 0.9944 GB, free: 13.75 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0102/1.505, allocations: 152.2 kB / 0.9945 GB, free: 13.75 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.008638/1.514, allocations: 2.378 MB / 0.9969 GB, free: 12.61 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02108/1.535, allocations: 6.808 MB / 1.004 GB, free: 9.504 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01036/1.546, allocations: 3.42 MB / 1.007 GB, free: 7.508 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0198/1.565, allocations: 15.42 MB / 1.022 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01306/1.579, allocations: 4.561 MB / 1.026 GB, free: 9.48 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01919/1.598, allocations: 5.397 MB / 1.032 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01027/1.608, allocations: 3.404 MB / 1.035 GB, free: 1.574 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001818/1.61, allocations: 168 kB / 1.035 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.017/1.627, allocations: 6.828 MB / 1.042 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.003314/1.63, allocations: 1.337 MB / 1.043 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.007425/1.638, allocations: 2.365 MB / 1.045 GB, free: 7.602 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.02162/1.659, allocations: 9.172 MB / 1.054 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.66, allocations: 4 kB / 1.054 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.955e-06/1.66, allocations: 0 / 1.054 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0003502/1.66, allocations: 0 / 1.054 GB, free: 14.85 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.01464/1.675, allocations: 4.707 MB / 1.059 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/1.675, allocations: 8.031 kB / 1.059 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01251/1.687, allocations: 1.912 MB / 1.061 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/1.698, allocations: 3.602 MB / 1.064 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001898/1.7, allocations: 0.6372 MB / 1.065 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002038/1.702, allocations: 343.4 kB / 1.065 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0174/1.719, allocations: 4.534 MB / 1.07 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001281/1.719, allocations: 11.88 kB / 1.07 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008519/1.72, allocations: 143.1 kB / 1.07 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001762/1.72, allocations: 134.5 kB / 1.07 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/1.732, allocations: 4.058 MB / 1.074 GB, free: 10.64 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.03678/1.769, allocations: 18.62 MB / 1.092 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004578/1.774, allocations: 1.805 MB / 1.094 GB, free: 4.973 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002244/1.776, allocations: 0.9372 MB / 1.095 GB, free: 4.039 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006853/1.777, allocations: 415.1 kB / 1.095 GB, free: 3.57 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002739/1.779, allocations: 1.104 MB / 1.096 GB, free: 2.441 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002/1.781, allocations: 150.1 kB / 1.096 GB, free: 2.293 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=133): time 3.366e-06/1.781, allocations: 0 / 1.096 GB, free: 2.293 MB / 0.7481 GB Notification: Performance of matching and sorting (n=133): time 0.008074/1.79, allocations: 2.908 MB / 1.099 GB, free: 15.35 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/1.79, allocations: 145.8 kB / 1.099 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005765/1.795, allocations: 3.393 MB / 1.103 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0003441/1.796, allocations: 53.7 kB / 1.103 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002087/1.798, allocations: 2.146 MB / 1.105 GB, free: 9.551 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005742/1.799, allocations: 479.7 kB / 1.105 GB, free: 9.086 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002786/1.799, allocations: 202.3 kB / 1.106 GB, free: 8.883 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.799, allocations: 301.1 kB / 1.106 GB, free: 8.586 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00278/1.802, allocations: 1.059 MB / 1.107 GB, free: 7.523 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00361/1.805, allocations: 2.124 MB / 1.109 GB, free: 4.895 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005913/1.811, allocations: 3.095 MB / 1.112 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.31e-05/1.811, allocations: 11.94 kB / 1.112 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00837/1.82, allocations: 3.409 MB / 1.115 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.001099/1.821, allocations: 1.042 MB / 1.116 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.781e-05/1.821, allocations: 32 kB / 1.116 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.444e-05/1.821, allocations: 44 kB / 1.116 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002654/1.824, allocations: 0.6474 MB / 1.117 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.595e-05/1.824, allocations: 63.78 kB / 1.117 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004992/1.829, allocations: 0.5887 MB / 1.118 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002345/1.829, allocations: 128 kB / 1.118 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/1.829, allocations: 4 kB / 1.118 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00684/1.836, allocations: 3.013 MB / 1.121 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.29e-05/1.836, allocations: 33.25 kB / 1.121 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.154e-05/1.836, allocations: 48.17 kB / 1.121 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002512/1.838, allocations: 0.6396 MB / 1.121 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.139e-05/1.838, allocations: 67.78 kB / 1.121 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004332/1.843, allocations: 483.9 kB / 1.122 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/1.843, allocations: 135.9 kB / 1.122 GB, free: 6.531 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (291): * Single equations (assignments): 287 * 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.002756/1.846, allocations: 1.175 MB / 1.123 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007473/1.847, allocations: 351.5 kB / 1.124 GB, free: 4.996 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005452/1.852, allocations: 2.33 MB / 1.126 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/1.852, allocations: 12 kB / 1.126 GB, free: 2.625 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/1.852, allocations: 7.984 kB / 1.126 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004195/1.856, allocations: 1.956 MB / 1.128 GB, free: 0.5703 MB / 0.7794 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.01412/1.87, allocations: 6.43 MB / 1.134 GB, free: 9.918 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/1.87, allocations: 8 kB / 1.134 GB, free: 9.91 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/1.872, allocations: 331.7 kB / 1.134 GB, free: 9.586 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002404/1.872, allocations: 52.83 kB / 1.134 GB, free: 9.531 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/1.873, allocations: 51.91 kB / 1.134 GB, free: 9.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/1.874, allocations: 1.44 MB / 1.136 GB, free: 7.91 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/1.874, allocations: 15.88 kB / 1.136 GB, free: 7.895 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007901/1.882, allocations: 3.381 MB / 1.139 GB, free: 4.371 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002033/1.884, allocations: 0.5941 MB / 1.14 GB, free: 3.754 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005561/1.884, allocations: 43.92 kB / 1.14 GB, free: 3.711 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002844/1.887, allocations: 359.4 kB / 1.14 GB, free: 3.359 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/1.888, allocations: 116.6 kB / 1.14 GB, free: 3.242 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/1.888, allocations: 67.95 kB / 1.14 GB, free: 3.176 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003961/1.892, allocations: 2.291 MB / 1.143 GB, free: 0.875 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.523e-06/1.892, allocations: 0 / 1.143 GB, free: 0.875 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.008662/1.9, allocations: 2.036 MB / 1.145 GB, free: 14.83 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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 (131): * Single equations (assignments): 128 * 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.001493/1.902, allocations: 498.1 kB / 1.145 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01033/1.912, allocations: 3.938 MB / 1.149 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/1.912, allocations: 4 kB / 1.149 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002856/1.915, allocations: 1.061 MB / 1.15 GB, free: 9.352 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01337/1.929, allocations: 1.616 MB / 1.152 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3322/2.261, allocations: 9.416 MB / 1.161 GB, free: 339.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002021/2.263, allocations: 2.661 MB / 1.163 GB, free: 338.6 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.004924/2.268, allocations: 1.037 MB / 1.164 GB, free: 338.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007569/2.269, allocations: 252.2 kB / 1.165 GB, free: 338.5 MB / 0.8106 GB Notification: Performance of SimCode: time 9.01e-07/2.269, allocations: 0 / 1.165 GB, free: 338.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.1176/2.386, allocations: 61.53 MB / 1.225 GB, free: 322 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)