Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",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.00545/0.00545, allocations: 99.97 kB / 15.73 MB, free: 6.004 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.001477/0.001477, allocations: 193.1 kB / 16.67 MB, free: 5.93 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.831/2.831, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 59.91 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2617, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.6529/0.9147, allocations: 162.6 MB / 1.379 GB, free: 6.09 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03192/0.9466, allocations: 27.13 MB / 1.405 GB, free: 236 kB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002279/0.949, allocations: 77.75 kB / 1.406 GB, free: 208 kB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001984/0.951, allocations: 1.076 MB / 1.407 GB, free: 15.42 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004334/0.9553, allocations: 1.845 MB / 1.408 GB, free: 14.02 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003772/0.9591, allocations: 1.792 MB / 1.41 GB, free: 12.59 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005532/0.9647, allocations: 5.555 MB / 1.416 GB, free: 9.219 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004481/0.9691, allocations: 4.336 MB / 1.42 GB, free: 6.562 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002856/0.972, allocations: 2.178 MB / 1.422 GB, free: 5.32 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002936/0.975, allocations: 2.625 MB / 1.424 GB, free: 3.656 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0006022/0.9756, allocations: 484.3 kB / 1.425 GB, free: 3.539 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.9777, allocations: 1.089 MB / 1.426 GB, free: 2.449 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001138/0.9789, allocations: 1.231 MB / 1.427 GB, free: 1.215 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002361/0.9812, allocations: 2.243 MB / 1.429 GB, free: 14.96 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00682/0.9881, allocations: 6.287 MB / 1.436 GB, free: 8.652 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.9881, allocations: 0 / 1.436 GB, free: 8.652 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9881, allocations: 4 kB / 1.436 GB, free: 8.648 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.071e-05/0.9882, allocations: 0 / 1.436 GB, free: 8.648 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 852 * Number of variables: 852 Notification: Performance of Generate backend data structure: time 0.009438/0.9976, allocations: 4.946 MB / 1.44 GB, free: 3.613 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.9977, allocations: 12.03 kB / 1.44 GB, free: 3.602 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006157/0.9983, allocations: 472 kB / 1.441 GB, free: 3.129 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01311/1.011, allocations: 2.81 MB / 1.444 GB, free: 320 kB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003734/1.015, allocations: 2.414 MB / 1.446 GB, free: 13.82 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/1.015, allocations: 254.7 kB / 1.446 GB, free: 13.57 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004885/1.016, allocations: 327.9 kB / 1.447 GB, free: 13.25 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/1.026, allocations: 5.334 MB / 1.452 GB, free: 7.844 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.74e-05/1.026, allocations: 4 kB / 1.452 GB, free: 7.84 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003488/1.026, allocations: 136 kB / 1.452 GB, free: 7.707 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.479e-05/1.026, allocations: 87.94 kB / 1.452 GB, free: 7.621 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01435/1.041, allocations: 6.475 MB / 1.458 GB, free: 1.137 MB / 1.139 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.0243/1.065, allocations: 15.71 MB / 1.474 GB, free: 0.7266 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01073/1.076, allocations: 4.87 MB / 1.478 GB, free: 11.85 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005452/1.081, allocations: 2.572 MB / 1.481 GB, free: 9.273 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009597/1.082, allocations: 0.6775 MB / 1.482 GB, free: 8.465 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005893/1.088, allocations: 2.711 MB / 1.484 GB, free: 5.715 MB / 1.17 GB Notification: Performance of pre-optimization done (n=291): time 4.498e-06/1.088, allocations: 0 / 1.484 GB, free: 5.715 MB / 1.17 GB Notification: Performance of matching and sorting (n=291): time 0.01977/1.108, allocations: 8.022 MB / 1.492 GB, free: 13.57 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/1.108, allocations: 210.2 kB / 1.492 GB, free: 13.32 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003226/1.111, allocations: 2.532 MB / 1.495 GB, free: 10.77 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002215/1.112, allocations: 77.7 kB / 1.495 GB, free: 10.69 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001233/1.113, allocations: 1.423 MB / 1.496 GB, free: 9.254 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008916/1.114, allocations: 0.9993 MB / 1.497 GB, free: 8.246 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009414/1.115, allocations: 0.5012 MB / 1.498 GB, free: 7.738 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001138/1.115, allocations: 305.1 kB / 1.498 GB, free: 7.438 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004664/1.119, allocations: 2.077 MB / 1.5 GB, free: 5.355 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005041/1.125, allocations: 2.43 MB / 1.502 GB, free: 2.84 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009701/1.134, allocations: 4.419 MB / 1.507 GB, free: 14.33 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/1.134, allocations: 4 kB / 1.507 GB, free: 14.33 MB / 1.201 GB Notification: Performance of matching and sorting (n=328) (initialization): time 0.01203/1.146, allocations: 5.222 MB / 1.512 GB, free: 9.059 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/1.146, allocations: 9.562 kB / 1.512 GB, free: 9.051 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/1.146, allocations: 4 kB / 1.512 GB, free: 9.047 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008739/1.147, allocations: 361.2 kB / 1.512 GB, free: 8.691 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003941/1.151, allocations: 0.8112 MB / 1.513 GB, free: 7.879 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005629/1.157, allocations: 4.228 MB / 1.517 GB, free: 3.508 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003372/1.16, allocations: 0.568 MB / 1.518 GB, free: 2.938 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000285/1.16, allocations: 119.9 kB / 1.518 GB, free: 2.82 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.intGai.nextTimeEvent,$whenCondition1,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (298): * Single equations (assignments): 297 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001756/1.162, allocations: 0.9696 MB / 1.519 GB, free: 1.84 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005507/1.163, allocations: 310 kB / 1.519 GB, free: 1.535 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/1.176, allocations: 5.909 MB / 1.525 GB, free: 11.56 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/1.176, allocations: 28 kB / 1.525 GB, free: 11.54 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/1.176, allocations: 4 kB / 1.525 GB, free: 11.53 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-05/1.176, allocations: 19.94 kB / 1.525 GB, free: 11.51 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004671/1.181, allocations: 3.865 MB / 1.529 GB, free: 7.598 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/1.181, allocations: 0 / 1.529 GB, free: 7.598 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003488/1.185, allocations: 0.7489 MB / 1.529 GB, free: 6.848 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009634/1.185, allocations: 382.3 kB / 1.53 GB, free: 6.465 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002379/1.186, allocations: 83.92 kB / 1.53 GB, free: 6.383 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006574/1.192, allocations: 6.313 MB / 1.536 GB, free: 15.77 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.192, allocations: 3.938 kB / 1.536 GB, free: 15.77 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0174/1.21, allocations: 8.426 MB / 1.544 GB, free: 7.254 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/1.211, allocations: 0.8732 MB / 1.545 GB, free: 6.359 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004582/1.212, allocations: 75.88 kB / 1.545 GB, free: 6.285 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002922/1.215, allocations: 421.4 kB / 1.545 GB, free: 5.875 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004582/1.215, allocations: 210.1 kB / 1.546 GB, free: 5.668 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002607/1.215, allocations: 111.9 kB / 1.546 GB, free: 5.559 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002555/1.218, allocations: 1.846 MB / 1.548 GB, free: 3.703 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.71e-07/1.218, allocations: 4 kB / 1.548 GB, free: 3.699 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00267/1.221, allocations: 1.126 MB / 1.549 GB, free: 2.57 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T) * Number of discrete variables: 21 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 11 (intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,25,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02132/1.242, allocations: 9.955 MB / 1.558 GB, free: 8.863 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.011/1.253, allocations: 5.109 MB / 1.563 GB, free: 3.715 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.253, allocations: 4 kB / 1.563 GB, free: 3.711 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.005884/1.259, allocations: 2.927 MB / 1.566 GB, free: 0.7539 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002913/1.262, allocations: 0.7347 MB / 1.567 GB, free: 56 kB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05515/1.317, allocations: 30.62 MB / 1.597 GB, free: 1.113 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002271/1.319, allocations: 2.534 MB / 1.599 GB, free: 14.55 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003495/1.323, allocations: 1.153 MB / 1.6 GB, free: 13.39 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002417/1.325, allocations: 1.518 MB / 1.602 GB, free: 11.87 MB / 1.295 GB Notification: Performance of SimCode: time 7.31e-07/1.325, allocations: 4 kB / 1.602 GB, free: 11.87 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.98/3.305, allocations: 75.28 MB / 1.675 GB, free: 1.055 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.91/26.22, allocations: 2.969 kB / 1.675 GB, free: 1.055 MB / 1.357 GB (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)