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.000939/0.000939, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.324/1.324, allocations: 223.3 MB / 241 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.9148/0.9148, allocations: 135.3 MB / 427.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003467, allocations: 9.844 kB / 0.5082 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1484, allocations: 82.31 MB / 0.5886 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.8953/1.044, allocations: 335.7 MB / 0.9164 GB, free: 16.79 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04122/1.085, allocations: 36.34 MB / 0.9519 GB, free: 16.2 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005274/1.09, allocations: 116.7 kB / 0.952 GB, free: 16.2 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005856/1.096, allocations: 1.976 MB / 0.954 GB, free: 16.16 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01463/1.111, allocations: 5.392 MB / 0.9592 GB, free: 15.88 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007291/1.118, allocations: 2.742 MB / 0.9619 GB, free: 15.8 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01203/1.13, allocations: 11.36 MB / 0.973 GB, free: 14.42 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005246/1.135, allocations: 3.449 MB / 0.9764 GB, free: 13.26 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009196/1.145, allocations: 4.191 MB / 0.9805 GB, free: 12.54 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005711/1.15, allocations: 2.552 MB / 0.983 GB, free: 12.11 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0008469/1.151, allocations: 120.9 kB / 0.9831 GB, free: 12.11 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01053/1.162, allocations: 5.715 MB / 0.9887 GB, free: 10.11 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001626/1.164, allocations: 0.9756 MB / 0.9896 GB, free: 9.594 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0028/1.166, allocations: 1.777 MB / 0.9913 GB, free: 8.488 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005842/1.172, allocations: 5.258 MB / 0.9965 GB, free: 3.512 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.172, allocations: 0 / 0.9965 GB, free: 3.512 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.733e-06/1.172, allocations: 0 / 0.9965 GB, free: 3.512 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.06e-05/1.172, allocations: 4 kB / 0.9965 GB, free: 3.508 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.005958/1.178, allocations: 3.655 MB / 1 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/1.178, allocations: 12.03 kB / 1 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008251/1.187, allocations: 1.464 MB / 1.001 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005621/1.192, allocations: 2.734 MB / 1.004 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001169/1.193, allocations: 496.3 kB / 1.005 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005418/1.194, allocations: 252 kB / 1.005 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007139/1.201, allocations: 3.417 MB / 1.008 GB, free: 7.41 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.76e-05/1.201, allocations: 2.625 kB / 1.008 GB, free: 7.41 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002773/1.201, allocations: 104 kB / 1.008 GB, free: 7.309 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001151/1.202, allocations: 100.9 kB / 1.008 GB, free: 7.207 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007194/1.209, allocations: 3.069 MB / 1.011 GB, free: 4.137 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.02193/1.231, allocations: 14.12 MB / 1.025 GB, free: 5.227 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003607/1.234, allocations: 1.602 MB / 1.027 GB, free: 3.594 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/1.236, allocations: 0.6994 MB / 1.027 GB, free: 2.891 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004195/1.236, allocations: 299.9 kB / 1.028 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001881/1.238, allocations: 0.8427 MB / 1.029 GB, free: 1.688 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001105/1.239, allocations: 106.7 kB / 1.029 GB, free: 1.582 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=106): time 4.017e-06/1.239, allocations: 3.938 kB / 1.029 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of matching and sorting (n=106): time 0.005931/1.245, allocations: 2.182 MB / 1.031 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/1.245, allocations: 115.8 kB / 1.031 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004381/1.25, allocations: 2.517 MB / 1.033 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002192/1.25, allocations: 53.64 kB / 1.033 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001418/1.252, allocations: 1.586 MB / 1.035 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004086/1.252, allocations: 384.5 kB / 1.035 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/1.252, allocations: 145.6 kB / 1.035 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.309e-05/1.252, allocations: 305.1 kB / 1.036 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/1.254, allocations: 0.7847 MB / 1.037 GB, free: 9.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002596/1.257, allocations: 1.541 MB / 1.038 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004179/1.261, allocations: 2.213 MB / 1.04 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/1.261, allocations: 4 kB / 1.04 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.005803/1.267, allocations: 2.53 MB / 1.043 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005011/1.268, allocations: 0.7453 MB / 1.043 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/1.268, allocations: 20 kB / 1.043 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.041e-05/1.268, allocations: 32 kB / 1.043 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002101/1.27, allocations: 491.8 kB / 1.044 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.472e-05/1.27, allocations: 46.05 kB / 1.044 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003531/1.273, allocations: 446.6 kB / 1.044 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/1.274, allocations: 91.97 kB / 1.044 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/1.274, allocations: 4 kB / 1.044 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005187/1.279, allocations: 2.235 MB / 1.047 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-05/1.279, allocations: 28 kB / 1.047 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-05/1.279, allocations: 28.09 kB / 1.047 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/1.281, allocations: 481.8 kB / 1.047 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.694e-05/1.281, allocations: 49.48 kB / 1.047 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003019/1.284, allocations: 364 kB / 1.048 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/1.284, allocations: 95.97 kB / 1.048 GB, free: 13.53 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.001599/1.286, allocations: 0.8878 MB / 1.049 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004751/1.286, allocations: 264.6 kB / 1.049 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004003/1.29, allocations: 1.681 MB / 1.05 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/1.29, allocations: 11.19 kB / 1.05 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.29, allocations: 0 / 1.05 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00302/1.293, allocations: 1.325 MB / 1.052 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008621/1.302, allocations: 4.465 MB / 1.056 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/1.302, allocations: 12.09 kB / 1.056 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/1.303, allocations: 250 kB / 1.056 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002133/1.304, allocations: 48.83 kB / 1.056 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-05/1.304, allocations: 35.98 kB / 1.056 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/1.305, allocations: 1.433 MB / 1.058 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.305, allocations: 7 kB / 1.058 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005319/1.31, allocations: 2.57 MB / 1.06 GB, free: 200 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009909/1.311, allocations: 489.7 kB / 1.061 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000286/1.311, allocations: 28 kB / 1.061 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002106/1.314, allocations: 247.3 kB / 1.061 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/1.314, allocations: 90.77 kB / 1.061 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/1.314, allocations: 55.97 kB / 1.061 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002752/1.317, allocations: 1.699 MB / 1.063 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/1.317, allocations: 0 / 1.063 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004205/1.321, allocations: 1.577 MB / 1.064 GB, free: 12.01 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.0009526/1.322, allocations: 446.7 kB / 1.065 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006891/1.329, allocations: 2.966 MB / 1.068 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/1.329, allocations: 0 / 1.068 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001852/1.331, allocations: 0.813 MB / 1.069 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008147/1.339, allocations: 1.183 MB / 1.07 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/1.35, allocations: 7.069 MB / 1.077 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/1.352, allocations: 2.115 MB / 1.079 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008685/1.353, allocations: 199.4 kB / 1.079 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of SimCode: time 8.22e-07/1.353, allocations: 0 / 1.079 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of Templates: time 0.07164/1.425, allocations: 54.26 MB / 1.132 GB, free: 7.34 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)