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.0009817/0.0009817, allocations: 91.92 kB / 16.02 MB, free: 80 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.001109/0.001109, allocations: 179.3 kB / 16.92 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.324/1.324, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8957/0.8957, allocations: 135.3 MB / 427.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003296, allocations: 8.656 kB / 0.5082 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1412, allocations: 82.32 MB / 0.5886 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.9993/1.141, allocations: 372 MB / 0.9519 GB, free: 16.3 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04934/1.19, allocations: 44.16 MB / 0.995 GB, free: 13.79 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007982/1.198, allocations: 156.1 kB / 0.9952 GB, free: 13.79 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.007318/1.205, allocations: 2.371 MB / 0.9975 GB, free: 12.65 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.018/1.223, allocations: 6.822 MB / 1.004 GB, free: 9.535 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009075/1.232, allocations: 3.409 MB / 1.008 GB, free: 7.543 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01626/1.249, allocations: 15.42 MB / 1.023 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008079/1.257, allocations: 4.559 MB / 1.027 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01351/1.27, allocations: 5.4 MB / 1.032 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007416/1.278, allocations: 3.413 MB / 1.036 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001127/1.279, allocations: 164 kB / 1.036 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01349/1.292, allocations: 6.826 MB / 1.042 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.002493/1.295, allocations: 1.344 MB / 1.044 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.004747/1.3, allocations: 2.352 MB / 1.046 GB, free: 7.695 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01008/1.31, allocations: 6.906 MB / 1.053 GB, free: 1.09 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.31, allocations: 0 / 1.053 GB, free: 1.09 MB / 0.7012 GB Notification: Performance of FrontEnd: time 4.328e-06/1.31, allocations: 0 / 1.053 GB, free: 1.09 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001832/1.31, allocations: 3.938 kB / 1.053 GB, free: 1.086 MB / 0.7012 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.009766/1.32, allocations: 4.703 MB / 1.057 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/1.32, allocations: 16.03 kB / 1.057 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/1.331, allocations: 1.906 MB / 1.059 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007837/1.339, allocations: 3.603 MB / 1.063 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001574/1.341, allocations: 0.638 MB / 1.063 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009738/1.342, allocations: 344 kB / 1.064 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0104/1.352, allocations: 4.542 MB / 1.068 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.169e-05/1.352, allocations: 7.938 kB / 1.068 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000387/1.352, allocations: 134.2 kB / 1.068 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001313/1.353, allocations: 134.5 kB / 1.068 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/1.363, allocations: 4.062 MB / 1.072 GB, free: 12.88 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.02922/1.392, allocations: 18.62 MB / 1.091 GB, free: 9.055 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003975/1.396, allocations: 1.807 MB / 1.092 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002112/1.398, allocations: 0.9411 MB / 1.093 GB, free: 6.273 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006266/1.399, allocations: 406.4 kB / 1.094 GB, free: 5.809 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002428/1.401, allocations: 1.104 MB / 1.095 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001567/1.403, allocations: 154 kB / 1.095 GB, free: 4.531 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=133): time 3.387e-06/1.403, allocations: 0 / 1.095 GB, free: 4.531 MB / 0.7481 GB Notification: Performance of matching and sorting (n=133): time 0.007784/1.41, allocations: 2.905 MB / 1.098 GB, free: 1.594 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.72e-05/1.411, allocations: 145.8 kB / 1.098 GB, free: 1.422 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0051/1.416, allocations: 3.386 MB / 1.101 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.000293/1.416, allocations: 61.7 kB / 1.101 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001725/1.418, allocations: 2.141 MB / 1.103 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004895/1.418, allocations: 483.8 kB / 1.104 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002594/1.419, allocations: 194.3 kB / 1.104 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.645e-05/1.419, allocations: 301.1 kB / 1.104 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002679/1.421, allocations: 1.055 MB / 1.105 GB, free: 9.777 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003303/1.425, allocations: 2.133 MB / 1.107 GB, free: 7.137 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005531/1.43, allocations: 3.091 MB / 1.11 GB, free: 3.605 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.892e-05/1.43, allocations: 12.11 kB / 1.11 GB, free: 3.594 MB / 0.7637 GB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00775/1.438, allocations: 3.421 MB / 1.114 GB, free: 160 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006787/1.439, allocations: 1.044 MB / 1.115 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.24e-05/1.439, allocations: 32 kB / 1.115 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.734e-05/1.439, allocations: 48 kB / 1.115 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002646/1.441, allocations: 0.6357 MB / 1.115 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.766e-05/1.441, allocations: 67.72 kB / 1.116 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004491/1.446, allocations: 0.5928 MB / 1.116 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000273/1.446, allocations: 124 kB / 1.116 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/1.446, allocations: 4 kB / 1.116 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007194/1.454, allocations: 3.02 MB / 1.119 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.867e-05/1.454, allocations: 32.66 kB / 1.119 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.645e-05/1.454, allocations: 44 kB / 1.119 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002708/1.456, allocations: 0.6396 MB / 1.12 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.527e-05/1.456, allocations: 65.11 kB / 1.12 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004296/1.461, allocations: 488.4 kB / 1.12 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003234/1.461, allocations: 124 kB / 1.121 GB, free: 8.773 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.002717/1.464, allocations: 1.179 MB / 1.122 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009619/1.465, allocations: 359.5 kB / 1.122 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006085/1.471, allocations: 2.322 MB / 1.124 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/1.471, allocations: 12 kB / 1.124 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/1.471, allocations: 3.938 kB / 1.124 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00427/1.475, allocations: 1.964 MB / 1.126 GB, free: 2.805 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.0158/1.491, allocations: 6.435 MB / 1.132 GB, free: 12.15 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.006e-05/1.491, allocations: 12.03 kB / 1.132 GB, free: 12.14 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/1.493, allocations: 327.5 kB / 1.133 GB, free: 11.82 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002371/1.493, allocations: 64.77 kB / 1.133 GB, free: 11.75 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/1.493, allocations: 43.97 kB / 1.133 GB, free: 11.71 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/1.495, allocations: 1.425 MB / 1.134 GB, free: 10.15 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.13e-05/1.495, allocations: 19.88 kB / 1.134 GB, free: 10.13 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007539/1.502, allocations: 3.389 MB / 1.138 GB, free: 6.602 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/1.504, allocations: 0.5902 MB / 1.138 GB, free: 5.988 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008422/1.505, allocations: 39.92 kB / 1.138 GB, free: 5.949 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003416/1.508, allocations: 363.4 kB / 1.139 GB, free: 5.594 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/1.508, allocations: 120.6 kB / 1.139 GB, free: 5.473 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/1.509, allocations: 63.95 kB / 1.139 GB, free: 5.41 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.004827/1.513, allocations: 2.283 MB / 1.141 GB, free: 3.117 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.01e-07/1.513, allocations: 0 / 1.141 GB, free: 3.117 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.006568/1.52, allocations: 2.037 MB / 1.143 GB, free: 1.074 MB / 0.795 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.001076/1.521, allocations: 0.5039 MB / 1.143 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.009232/1.53, allocations: 3.939 MB / 1.147 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/1.53, allocations: 8.188 kB / 1.147 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002481/1.533, allocations: 1.025 MB / 1.148 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01401/1.547, allocations: 1.606 MB / 1.15 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01833/1.565, allocations: 9.578 MB / 1.159 GB, free: 280 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2979/1.863, allocations: 2.647 MB / 1.162 GB, free: 339.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/1.865, allocations: 270.4 kB / 1.162 GB, free: 339.6 MB / 0.8106 GB Notification: Performance of SimCode: time 8.41e-07/1.865, allocations: 2.75 kB / 1.162 GB, free: 339.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.1069/1.971, allocations: 72.66 MB / 1.233 GB, free: 317.2 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)