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.0008238/0.0008238, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005802/0.005802, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.045/1.045, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005893/0.0005894, allocations: 8.875 kB / 0.5076 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1852, allocations: 82.31 MB / 0.588 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.265/1.451, allocations: 335.7 MB / 0.9158 GB, free: 16.79 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.05161/1.502, allocations: 36.32 MB / 0.9513 GB, free: 16.21 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008168/1.511, allocations: 118.4 kB / 0.9514 GB, free: 16.21 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.007531/1.518, allocations: 1.983 MB / 0.9533 GB, free: 16.16 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01808/1.536, allocations: 5.385 MB / 0.9586 GB, free: 15.89 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008607/1.545, allocations: 2.746 MB / 0.9613 GB, free: 15.8 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01439/1.559, allocations: 11.37 MB / 0.9724 GB, free: 14.43 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00601/1.565, allocations: 3.456 MB / 0.9757 GB, free: 13.25 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01263/1.578, allocations: 4.195 MB / 0.9798 GB, free: 12.54 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008443/1.586, allocations: 2.534 MB / 0.9823 GB, free: 12.11 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00133/1.588, allocations: 121.7 kB / 0.9824 GB, free: 12.11 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01534/1.603, allocations: 5.71 MB / 0.988 GB, free: 10.08 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002926/1.606, allocations: 0.9787 MB / 0.989 GB, free: 9.566 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.005484/1.612, allocations: 1.771 MB / 0.9907 GB, free: 8.465 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01473/1.626, allocations: 7.06 MB / 0.9976 GB, free: 1.871 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/1.626, allocations: 0 / 0.9976 GB, free: 1.871 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.315e-06/1.626, allocations: 0 / 0.9976 GB, free: 1.871 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001188/1.627, allocations: 3.938 kB / 0.9976 GB, free: 1.867 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.008198/1.635, allocations: 3.652 MB / 1.001 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/1.635, allocations: 8.031 kB / 1.001 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009092/1.644, allocations: 1.466 MB / 1.003 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007038/1.651, allocations: 2.744 MB / 1.005 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00127/1.652, allocations: 481.9 kB / 1.006 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009371/1.653, allocations: 267.2 kB / 1.006 GB, free: 9.27 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007777/1.661, allocations: 3.408 MB / 1.009 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.238e-05/1.661, allocations: 5.219 kB / 1.009 GB, free: 5.766 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000275/1.661, allocations: 107.3 kB / 1.009 GB, free: 5.664 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/1.662, allocations: 96.91 kB / 1.01 GB, free: 5.566 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00758/1.669, allocations: 3.07 MB / 1.013 GB, free: 2.496 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.02534/1.695, allocations: 14.11 MB / 1.026 GB, free: 3.59 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003919/1.698, allocations: 1.612 MB / 1.028 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/1.7, allocations: 0.7033 MB / 1.029 GB, free: 1.246 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004302/1.701, allocations: 299.7 kB / 1.029 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00206/1.703, allocations: 0.8367 MB / 1.03 GB, free: 48 kB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001714/1.704, allocations: 110.8 kB / 1.03 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=106): time 3.627e-06/1.704, allocations: 0 / 1.03 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=106): time 0.006079/1.71, allocations: 2.173 MB / 1.032 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/1.711, allocations: 119.8 kB / 1.032 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004631/1.715, allocations: 2.513 MB / 1.034 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004093/1.716, allocations: 57.7 kB / 1.035 GB, free: 11 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002155/1.718, allocations: 1.581 MB / 1.036 GB, free: 9.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007407/1.719, allocations: 387.7 kB / 1.036 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003588/1.719, allocations: 145.6 kB / 1.037 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002357/1.719, allocations: 305.1 kB / 1.037 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002558/1.722, allocations: 0.7876 MB / 1.038 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002989/1.725, allocations: 1.539 MB / 1.039 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004661/1.729, allocations: 2.219 MB / 1.041 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.742e-05/1.729, allocations: 8 kB / 1.041 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.006526/1.736, allocations: 2.524 MB / 1.044 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008985/1.737, allocations: 0.7399 MB / 1.044 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.22e-05/1.737, allocations: 24 kB / 1.045 GB, free: 24 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.316e-05/1.737, allocations: 28.05 kB / 1.045 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/1.739, allocations: 492.7 kB / 1.045 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001465/1.739, allocations: 56.86 kB / 1.045 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004299/1.744, allocations: 439.8 kB / 1.045 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002652/1.744, allocations: 91.97 kB / 1.046 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/1.744, allocations: 4 kB / 1.046 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005606/1.75, allocations: 2.241 MB / 1.048 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.064e-05/1.75, allocations: 23.94 kB / 1.048 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.846e-05/1.75, allocations: 35.98 kB / 1.048 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/1.752, allocations: 477.6 kB / 1.048 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.918e-05/1.752, allocations: 43.66 kB / 1.048 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003519/1.755, allocations: 367.8 kB / 1.049 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/1.756, allocations: 91.97 kB / 1.049 GB, free: 11.89 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.002147/1.758, allocations: 0.893 MB / 1.05 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006796/1.758, allocations: 272.6 kB / 1.05 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004358/1.763, allocations: 1.67 MB / 1.052 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/1.763, allocations: 14.62 kB / 1.052 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/1.763, allocations: 0 / 1.052 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003039/1.766, allocations: 1.327 MB / 1.053 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/1.776, allocations: 4.454 MB / 1.057 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/1.776, allocations: 8 kB / 1.057 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/1.777, allocations: 248.3 kB / 1.057 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002503/1.778, allocations: 51.45 kB / 1.057 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.46e-05/1.778, allocations: 35.98 kB / 1.057 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/1.779, allocations: 1.433 MB / 1.059 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/1.779, allocations: 9.969 kB / 1.059 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00597/1.785, allocations: 2.57 MB / 1.061 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00162/1.787, allocations: 489.5 kB / 1.062 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003213/1.787, allocations: 35.92 kB / 1.062 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002173/1.789, allocations: 243.4 kB / 1.062 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002237/1.79, allocations: 89.55 kB / 1.062 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002157/1.79, allocations: 51.97 kB / 1.062 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003354/1.793, allocations: 1.703 MB / 1.064 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.5e-07/1.793, allocations: 0 / 1.064 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005848/1.799, allocations: 1.571 MB / 1.065 GB, free: 10.38 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.001248/1.8, allocations: 453.2 kB / 1.066 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.007449/1.808, allocations: 2.962 MB / 1.069 GB, free: 7.121 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.448e-05/1.808, allocations: 4 kB / 1.069 GB, free: 7.117 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001957/1.81, allocations: 0.8289 MB / 1.07 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009137/1.819, allocations: 1.187 MB / 1.071 GB, free: 5.156 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/1.834, allocations: 6.959 MB / 1.078 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003267/1.838, allocations: 2.13 MB / 1.08 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004944/1.843, allocations: 0.7635 MB / 1.08 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008864/1.844, allocations: 187.4 kB / 1.081 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of SimCode: time 7.82e-07/1.844, allocations: 0 / 1.081 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of Templates: time 0.09174/1.935, allocations: 45.22 MB / 1.125 GB, free: 14.41 MB / 0.8106 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)