Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.00117/0.00117, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001404/0.001404, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.713/1.713, allocations: 251.9 MB / 0.51 GB, free: 4.805 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005379/0.0005381, allocations: 20 kB / 0.6241 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7898/0.7903, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.063/1.853, allocations: 277.5 MB / 0.9989 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05373/1.907, allocations: 35.03 MB / 1.033 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009488/1.917, allocations: 105.5 kB / 1.033 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.009836/1.927, allocations: 1.936 MB / 1.035 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02549/1.952, allocations: 5.544 MB / 1.041 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01516/1.967, allocations: 3.789 MB / 1.044 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01425/1.982, allocations: 5.047 MB / 1.049 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0066/1.988, allocations: 2.946 MB / 1.052 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01045/1.999, allocations: 3.191 MB / 1.055 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005169/2.004, allocations: 1.785 MB / 1.057 GB, free: 140 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0008644/2.005, allocations: 128 kB / 1.057 GB, free: 12 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009343/2.014, allocations: 2.375 MB / 1.059 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001747/2.016, allocations: 0.8945 MB / 1.06 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002231/2.018, allocations: 0.7538 MB / 1.061 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.008293/2.027, allocations: 4.754 MB / 1.066 GB, free: 7.527 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/2.027, allocations: 3.938 kB / 1.066 GB, free: 7.523 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.294e-06/2.027, allocations: 0 / 1.066 GB, free: 7.523 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001586/2.027, allocations: 4 kB / 1.066 GB, free: 7.52 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 647 * Number of variables: 647 Notification: Performance of Generate backend data structure: time 0.0084/2.035, allocations: 3.609 MB / 1.069 GB, free: 3.828 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/2.035, allocations: 8.031 kB / 1.069 GB, free: 3.816 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008389/2.044, allocations: 1.447 MB / 1.071 GB, free: 2.363 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007242/2.051, allocations: 2.594 MB / 1.073 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001431/2.052, allocations: 0.5331 MB / 1.074 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006996/2.053, allocations: 263.9 kB / 1.074 GB, free: 14.89 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007486/2.061, allocations: 3.441 MB / 1.077 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.076e-05/2.061, allocations: 7.938 kB / 1.077 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002565/2.061, allocations: 100 kB / 1.077 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/2.061, allocations: 104.9 kB / 1.077 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007358/2.068, allocations: 3.189 MB / 1.081 GB, free: 7.93 MB / 0.7637 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.02704/2.095, allocations: 14.5 MB / 1.095 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005084/2.101, allocations: 1.868 MB / 1.097 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/2.101, allocations: 29.05 kB / 1.097 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002314/2.103, allocations: 0.9763 MB / 1.097 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002662/2.106, allocations: 146.3 kB / 1.098 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=108): time 8.465e-06/2.106, allocations: 0 / 1.098 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of matching and sorting (n=108): time 0.007952/2.114, allocations: 2.505 MB / 1.1 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001722/2.114, allocations: 208.8 kB / 1.1 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008615/2.123, allocations: 2.819 MB / 1.103 GB, free: 15.67 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0005628/2.123, allocations: 57.7 kB / 1.103 GB, free: 15.61 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002266/2.126, allocations: 1.498 MB / 1.105 GB, free: 14.1 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008208/2.126, allocations: 382.5 kB / 1.105 GB, free: 13.72 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003552/2.127, allocations: 28 kB / 1.105 GB, free: 13.69 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000301/2.127, allocations: 357.9 kB / 1.105 GB, free: 13.34 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003001/2.13, allocations: 0.8861 MB / 1.106 GB, free: 12.45 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00346/2.134, allocations: 1.401 MB / 1.108 GB, free: 10.83 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003134/2.137, allocations: 1.027 MB / 1.109 GB, free: 9.797 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.442e-05/2.137, allocations: 4 kB / 1.109 GB, free: 9.793 MB / 0.795 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.008238/2.145, allocations: 2.535 MB / 1.111 GB, free: 7.246 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.00364/2.149, allocations: 5.116 MB / 1.116 GB, free: 1.805 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.375e-05/2.149, allocations: 12 kB / 1.116 GB, free: 1.793 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.375e-05/2.149, allocations: 20 kB / 1.116 GB, free: 1.773 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/2.151, allocations: 463.4 kB / 1.116 GB, free: 1.32 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.402e-05/2.152, allocations: 31.86 kB / 1.117 GB, free: 1.289 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004914/2.156, allocations: 0.5115 MB / 1.117 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003645/2.157, allocations: 75.97 kB / 1.117 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/2.157, allocations: 4 kB / 1.117 GB, free: 0.6953 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006656/2.164, allocations: 2.258 MB / 1.119 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.493e-05/2.164, allocations: 12 kB / 1.119 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.858e-05/2.164, allocations: 23.94 kB / 1.119 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00237/2.166, allocations: 463.8 kB / 1.12 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.808e-05/2.166, allocations: 31.86 kB / 1.12 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004737/2.171, allocations: 444 kB / 1.12 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002918/2.171, allocations: 71.97 kB / 1.12 GB, free: 13.41 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 177 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002631/2.174, allocations: 0.8648 MB / 1.121 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/2.175, allocations: 284.4 kB / 1.121 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005629/2.181, allocations: 1.875 MB / 1.123 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/2.181, allocations: 8 kB / 1.123 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/2.181, allocations: 4 kB / 1.123 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003319/2.184, allocations: 1.364 MB / 1.125 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/2.198, allocations: 5.326 MB / 1.13 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/2.198, allocations: 4 kB / 1.13 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/2.2, allocations: 295.8 kB / 1.13 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000313/2.2, allocations: 52.83 kB / 1.13 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/2.2, allocations: 39.97 kB / 1.13 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/2.202, allocations: 1.452 MB / 1.132 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/2.202, allocations: 8 kB / 1.132 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0076/2.209, allocations: 3.766 MB / 1.135 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002373/2.212, allocations: 0.556 MB / 1.136 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001013/2.213, allocations: 35.89 kB / 1.136 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003489/2.216, allocations: 325.4 kB / 1.136 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002345/2.217, allocations: 92.44 kB / 1.136 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001978/2.217, allocations: 59.91 kB / 1.136 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.004872/2.222, allocations: 1.966 MB / 1.138 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.7e-07/2.222, allocations: 4 kB / 1.138 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.006681/2.228, allocations: 1.523 MB / 1.14 GB, free: 8.75 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001467/2.23, allocations: 430.3 kB / 1.14 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.009018/2.239, allocations: 3.127 MB / 1.143 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.529e-05/2.239, allocations: 4 kB / 1.143 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002552/2.242, allocations: 0.9414 MB / 1.144 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009066/2.251, allocations: 1.496 MB / 1.146 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01986/2.271, allocations: 6.905 MB / 1.152 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003841/2.274, allocations: 2.193 MB / 1.154 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.005207/2.28, allocations: 0.7533 MB / 1.155 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/2.281, allocations: 199.4 kB / 1.155 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of SimCode: time 7.62e-07/2.281, allocations: 0 / 1.155 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of Templates: time 0.1076/2.388, allocations: 51.83 MB / 1.206 GB, free: 5.375 MB / 0.8887 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1) Environment - environmentSimulation: