Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.586/1.586, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 179.6 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.141/2.141, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009104/0.0009107, allocations: 90.39 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.00036, allocations: 7.375 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2292, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1625/0.3918, allocations: 135.4 MB / 1.032 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03276/0.4246, allocations: 22.2 MB / 1.054 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003505/0.4282, allocations: 51.69 kB / 1.054 GB, free: 1.824 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002886/0.4311, allocations: 0.9451 MB / 1.055 GB, free: 0.875 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.6393/1.07, allocations: 2.017 MB / 1.057 GB, free: 4.062 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00591/1.076, allocations: 1.587 MB / 1.059 GB, free: 4.039 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007364/1.084, allocations: 2.7 MB / 1.061 GB, free: 4.035 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005598/1.089, allocations: 2.74 MB / 1.064 GB, free: 3.695 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0036/1.093, allocations: 1.229 MB / 1.065 GB, free: 3.695 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004642/1.098, allocations: 1.528 MB / 1.067 GB, free: 3.688 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001257/1.099, allocations: 98.16 kB / 1.067 GB, free: 3.688 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003443/1.102, allocations: 0.513 MB / 1.067 GB, free: 3.688 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001472/1.104, allocations: 0.6613 MB / 1.068 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002769/1.107, allocations: 0.59 MB / 1.068 GB, free: 3.652 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01046/1.117, allocations: 4.017 MB / 1.072 GB, free: 3.395 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.117, allocations: 0 / 1.072 GB, free: 3.395 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.176e-06/1.117, allocations: 0 / 1.072 GB, free: 3.395 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004757/1.118, allocations: 0.75 kB / 1.072 GB, free: 3.395 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 768 * Number of variables: 768 Notification: Performance of Generate backend data structure: time 0.01635/1.134, allocations: 3.644 MB / 1.076 GB, free: 1.777 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.406e-05/1.134, allocations: 11.17 kB / 1.076 GB, free: 1.777 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002645/1.137, allocations: 426.4 kB / 1.076 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01586/1.153, allocations: 2.679 MB / 1.079 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009057/1.162, allocations: 2.045 MB / 1.081 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004556/1.162, allocations: 229 kB / 1.081 GB, free: 16.96 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002127/1.164, allocations: 295.4 kB / 1.081 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0213/1.186, allocations: 4.78 MB / 1.086 GB, free: 16.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003094/1.186, allocations: 5.75 kB / 1.086 GB, free: 16.65 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002604/1.189, allocations: 128.6 kB / 1.086 GB, free: 16.65 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001597/1.189, allocations: 75.86 kB / 1.086 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01915/1.208, allocations: 5.925 MB / 1.092 GB, free: 16.57 MB / 0.7136 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.03748/1.246, allocations: 13.38 MB / 1.105 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01436/1.26, allocations: 4.408 MB / 1.109 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001226/1.261, allocations: 0.6706 MB / 1.11 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00677/1.268, allocations: 2.265 MB / 1.112 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=255): time 7.384e-06/1.268, allocations: 0 / 1.112 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of matching and sorting (n=255): time 0.02044/1.289, allocations: 6.665 MB / 1.119 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/1.289, allocations: 213 kB / 1.119 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005058/1.294, allocations: 2.294 MB / 1.121 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0009192/1.295, allocations: 72.86 kB / 1.121 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001494/1.296, allocations: 1.278 MB / 1.123 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00195/1.298, allocations: 0.8405 MB / 1.123 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007162/1.299, allocations: 43.53 kB / 1.123 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003815/1.3, allocations: 401.8 kB / 1.124 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005152/1.305, allocations: 1.787 MB / 1.126 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005409/1.31, allocations: 2.082 MB / 1.128 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005359/1.316, allocations: 1.925 MB / 1.129 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.434e-05/1.316, allocations: 5.188 kB / 1.129 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01428/1.33, allocations: 4.469 MB / 1.134 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/1.33, allocations: 9.25 kB / 1.134 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/1.33, allocations: 5.781 kB / 1.134 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007268/1.331, allocations: 233.3 kB / 1.134 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00452/1.335, allocations: 0.7605 MB / 1.135 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004626/1.34, allocations: 3.18 MB / 1.138 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004847/1.345, allocations: 0.4964 MB / 1.138 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/1.346, allocations: 102 kB / 1.138 GB, free: 14 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (262): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003887/1.35, allocations: 0.8769 MB / 1.139 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001584/1.351, allocations: 256.8 kB / 1.14 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01607/1.367, allocations: 5.081 MB / 1.145 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-05/1.367, allocations: 30.89 kB / 1.145 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.817e-05/1.367, allocations: 4 kB / 1.145 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.216e-05/1.368, allocations: 15.95 kB / 1.145 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02419/1.392, allocations: 8.572 MB / 1.153 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/1.392, allocations: 0 / 1.153 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004415/1.396, allocations: 0.7198 MB / 1.154 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008912/1.397, allocations: 258.3 kB / 1.154 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006183/1.398, allocations: 77.83 kB / 1.154 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005238/1.403, allocations: 4.87 MB / 1.159 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/1.403, allocations: 0 / 1.159 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01906/1.422, allocations: 7.221 MB / 1.166 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003249/1.425, allocations: 0.8073 MB / 1.167 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001266/1.427, allocations: 48.25 kB / 1.167 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003933/1.431, allocations: 379 kB / 1.167 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006192/1.431, allocations: 167 kB / 1.167 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004712/1.432, allocations: 91.59 kB / 1.167 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003918/1.436, allocations: 1.68 MB / 1.169 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.91e-07/1.436, allocations: 0 / 1.169 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005116/1.441, allocations: 0.9415 MB / 1.17 GB, free: 5.305 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 241 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.02073/1.462, allocations: 8.664 MB / 1.178 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01187/1.474, allocations: 4.336 MB / 1.182 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.188e-06/1.474, allocations: 0 / 1.182 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.006368/1.48, allocations: 2.514 MB / 1.185 GB, free: 9.77 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00394/1.484, allocations: 0.5389 MB / 1.185 GB, free: 9.371 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06086/1.545, allocations: 25.51 MB / 1.21 GB, free: 2.73 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004082/1.549, allocations: 2.409 MB / 1.213 GB, free: 468 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.006466/1.556, allocations: 1.081 MB / 1.214 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004226/1.56, allocations: 1.349 MB / 1.215 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of SimCode: time 1.864e-06/1.56, allocations: 0 / 1.215 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1247/1.685, allocations: 64.69 MB / 1.278 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/1.685, allocations: 289 kB / 1.279 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.462/6.147, allocations: 0 / 1.279 GB, free: 14.54 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)