Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007182/0.007182, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.002153/0.002153, allocations: 198 kB / 16.68 MB, free: 5.969 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.433/2.433, allocations: 482.6 MB / 0.7551 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 67.89 kB / 1.083 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5746/0.5763, allocations: 162.3 MB / 1.242 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.3179/0.8942, allocations: 343 MB / 1.577 GB, free: 8.879 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.5711/1.465, allocations: 38.39 MB / 1.614 GB, free: 17.74 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003453/1.469, allocations: 139.9 kB / 1.614 GB, free: 17.74 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.005436/1.474, allocations: 3.175 MB / 1.618 GB, free: 17.68 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.009904/1.484, allocations: 5.923 MB / 1.623 GB, free: 17.47 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.005291/1.49, allocations: 3.14 MB / 1.626 GB, free: 17.39 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.009429/1.499, allocations: 11.22 MB / 1.637 GB, free: 17.37 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003694/1.503, allocations: 4.226 MB / 1.642 GB, free: 16.78 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007326/1.51, allocations: 5.327 MB / 1.647 GB, free: 16.7 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003305/1.513, allocations: 2.735 MB / 1.649 GB, free: 16.68 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0004209/1.514, allocations: 383.2 kB / 1.65 GB, free: 16.68 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007043/1.521, allocations: 5.291 MB / 1.655 GB, free: 16.63 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0009678/1.522, allocations: 1.396 MB / 1.656 GB, free: 16.63 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001695/1.524, allocations: 2.264 MB / 1.658 GB, free: 16.06 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.007653/1.531, allocations: 7.748 MB / 1.666 GB, free: 15.06 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/1.531, allocations: 0 / 1.666 GB, free: 15.06 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.192e-06/1.531, allocations: 0 / 1.666 GB, free: 15.06 MB / 1.295 GB Notification: Performance of Transformations before backend: time 4.957e-05/1.531, allocations: 0 / 1.666 GB, free: 15.06 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.006027/1.537, allocations: 4.939 MB / 1.671 GB, free: 12.7 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/1.537, allocations: 12.23 kB / 1.671 GB, free: 12.7 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003228/1.538, allocations: 362.2 kB / 1.671 GB, free: 12.65 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006661/1.544, allocations: 1.503 MB / 1.673 GB, free: 12.35 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004754/1.549, allocations: 3.934 MB / 1.677 GB, free: 11.57 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/1.549, allocations: 285.2 kB / 1.677 GB, free: 11.47 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002841/1.55, allocations: 263.4 kB / 1.677 GB, free: 11.47 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004553/1.554, allocations: 3.369 MB / 1.68 GB, free: 11.14 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.333e-05/1.554, allocations: 5.031 kB / 1.68 GB, free: 11.14 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000213/1.554, allocations: 109.7 kB / 1.68 GB, free: 11.14 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.413e-05/1.554, allocations: 103.3 kB / 1.681 GB, free: 11.13 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005063/1.56, allocations: 2.978 MB / 1.683 GB, free: 11.07 MB / 1.295 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.01326/1.573, allocations: 14.79 MB / 1.698 GB, free: 3.547 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002637/1.575, allocations: 1.572 MB / 1.699 GB, free: 3.297 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/1.577, allocations: 0.6875 MB / 1.7 GB, free: 3.277 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002586/1.577, allocations: 301.7 kB / 1.7 GB, free: 2.992 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001339/1.578, allocations: 0.8083 MB / 1.701 GB, free: 2.906 MB / 1.295 GB Notification: Performance of pre-optimization done (n=103): time 2.244e-06/1.578, allocations: 0 / 1.701 GB, free: 2.906 MB / 1.295 GB Notification: Performance of matching and sorting (n=103): time 0.004352/1.583, allocations: 2.199 MB / 1.703 GB, free: 2.555 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/1.583, allocations: 116.8 kB / 1.703 GB, free: 2.43 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003009/1.586, allocations: 3.189 MB / 1.707 GB, free: 2.141 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 8.491e-05/1.586, allocations: 55.47 kB / 1.707 GB, free: 2.109 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008178/1.587, allocations: 1.761 MB / 1.708 GB, free: 1.324 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/1.587, allocations: 393.3 kB / 1.709 GB, free: 1.047 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005034/1.587, allocations: 472.9 kB / 1.709 GB, free: 0.9492 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 2.746e-05/1.587, allocations: 305.1 kB / 1.709 GB, free: 0.6484 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/1.589, allocations: 0.9307 MB / 1.71 GB, free: 480 kB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002106/1.591, allocations: 1.698 MB / 1.712 GB, free: 15.36 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003582/1.595, allocations: 2.498 MB / 1.714 GB, free: 13.98 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.417e-06/1.595, allocations: 5.875 kB / 1.714 GB, free: 13.98 MB / 1.311 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.004783/1.6, allocations: 2.925 MB / 1.717 GB, free: 12.68 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.353e-05/1.6, allocations: 49.53 kB / 1.717 GB, free: 12.64 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/1.6, allocations: 21.78 kB / 1.717 GB, free: 12.64 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.099e-05/1.6, allocations: 37.59 kB / 1.717 GB, free: 12.64 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/1.601, allocations: 0.4965 MB / 1.718 GB, free: 12.55 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.177e-05/1.601, allocations: 54.44 kB / 1.718 GB, free: 12.54 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/1.604, allocations: 388.6 kB / 1.718 GB, free: 12.32 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/1.604, allocations: 106.5 kB / 1.718 GB, free: 12.3 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002678/1.606, allocations: 1.729 MB / 1.72 GB, free: 11.35 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002329/1.609, allocations: 1.694 MB / 1.722 GB, free: 9.914 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003644/1.612, allocations: 2.501 MB / 1.724 GB, free: 8.199 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.795e-06/1.612, allocations: 5.469 kB / 1.724 GB, free: 8.199 MB / 1.311 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.004886/1.617, allocations: 2.929 MB / 1.727 GB, free: 6.551 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/1.617, allocations: 41.7 kB / 1.727 GB, free: 6.504 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/1.617, allocations: 24 kB / 1.727 GB, free: 6.48 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/1.617, allocations: 35.98 kB / 1.727 GB, free: 6.445 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/1.619, allocations: 0.5091 MB / 1.728 GB, free: 5.969 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.538e-05/1.619, allocations: 50.2 kB / 1.728 GB, free: 5.93 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/1.621, allocations: 322.8 kB / 1.728 GB, free: 5.613 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/1.622, allocations: 99.97 kB / 1.728 GB, free: 5.516 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (247): * Single equations (assignments): 243 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0003358/1.622, allocations: 310.6 kB / 1.728 GB, free: 5.234 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003749/1.622, allocations: 325.8 kB / 1.729 GB, free: 4.914 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003477/1.626, allocations: 1.688 MB / 1.73 GB, free: 3.227 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/1.626, allocations: 8 kB / 1.73 GB, free: 3.219 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.626, allocations: 0 / 1.73 GB, free: 3.219 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002709/1.629, allocations: 1.304 MB / 1.732 GB, free: 1.902 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007042/1.636, allocations: 4.559 MB / 1.736 GB, free: 13.25 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/1.636, allocations: 8 kB / 1.736 GB, free: 13.25 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/1.637, allocations: 244.8 kB / 1.736 GB, free: 13.02 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001846/1.637, allocations: 48.83 kB / 1.736 GB, free: 12.97 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.651e-05/1.637, allocations: 35.92 kB / 1.736 GB, free: 12.93 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/1.638, allocations: 1.549 MB / 1.738 GB, free: 11.26 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.638, allocations: 17.12 kB / 1.738 GB, free: 11.25 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004589/1.643, allocations: 2.527 MB / 1.74 GB, free: 8.645 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007546/1.644, allocations: 0.5649 MB / 1.741 GB, free: 8.059 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003046/1.644, allocations: 32 kB / 1.741 GB, free: 8.027 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/1.645, allocations: 135.9 kB / 1.741 GB, free: 7.895 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/1.646, allocations: 89.5 kB / 1.741 GB, free: 7.812 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-05/1.646, allocations: 51.97 kB / 1.741 GB, free: 7.762 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.002814/1.649, allocations: 2.152 MB / 1.743 GB, free: 5.625 MB / 1.326 GB Notification: Performance of sort global known variables: time 1.8e-07/1.649, allocations: 0 / 1.743 GB, free: 5.625 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.003218/1.652, allocations: 1.707 MB / 1.745 GB, free: 3.914 MB / 1.326 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (102): * Single equations (assignments): 99 * 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.005779/1.658, allocations: 3.557 MB / 1.749 GB, free: 320 kB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.006157/1.664, allocations: 3.39 MB / 1.752 GB, free: 13.07 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 5.86e-06/1.664, allocations: 4 kB / 1.752 GB, free: 13.06 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.001628/1.665, allocations: 0.8088 MB / 1.753 GB, free: 12.28 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005001/1.67, allocations: 1.501 MB / 1.754 GB, free: 10.8 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03266/1.703, allocations: 23.26 MB / 1.777 GB, free: 2.781 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001871/1.705, allocations: 2.299 MB / 1.779 GB, free: 468 kB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.002606/1.708, allocations: 0.8994 MB / 1.78 GB, free: 15.55 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001681/1.709, allocations: 1.444 MB / 1.781 GB, free: 14.11 MB / 1.373 GB Notification: Performance of SimCode: time 4.91e-07/1.709, allocations: 0 / 1.781 GB, free: 14.11 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 13.5/15.21, allocations: 77.2 MB / 1.857 GB, free: 2.031 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.31/39.52, allocations: 11.75 kB / 1.857 GB, free: 2.02 MB / 1.436 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust_fmu --startTime=0 --stopTime=172800 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.fmu > Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)