Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SimpleRoomOneElement,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",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.007011/0.007011, allocations: 101 kB / 15.73 MB, free: 6.066 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.001915/0.001915, allocations: 189.4 kB / 16.67 MB, free: 5.977 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.46/2.46, allocations: 437.1 MB / 0.7106 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 79.88 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2396, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.6051/0.8447, allocations: 162 MB / 1.324 GB, free: 7.473 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03267/0.8774, allocations: 26.93 MB / 1.351 GB, free: 3.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002372/0.8799, allocations: 71.25 kB / 1.351 GB, free: 3.816 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.8816, allocations: 1.039 MB / 1.352 GB, free: 3.387 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003826/0.8855, allocations: 1.797 MB / 1.353 GB, free: 2.391 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003579/0.8891, allocations: 1.713 MB / 1.355 GB, free: 1.418 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00517/0.8943, allocations: 5.289 MB / 1.36 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004396/0.8987, allocations: 4.163 MB / 1.364 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002848/0.9015, allocations: 2.105 MB / 1.366 GB, free: 11.59 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002735/0.9043, allocations: 2.526 MB / 1.369 GB, free: 9.988 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005088/0.9048, allocations: 458.6 kB / 1.369 GB, free: 9.988 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/0.9066, allocations: 1.056 MB / 1.37 GB, free: 9.688 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0009572/0.9076, allocations: 1.176 MB / 1.372 GB, free: 8.773 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002022/0.9096, allocations: 2.127 MB / 1.374 GB, free: 7.234 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005486/0.9151, allocations: 5.986 MB / 1.379 GB, free: 2.984 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.9152, allocations: 0 / 1.379 GB, free: 2.984 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9152, allocations: 0 / 1.379 GB, free: 2.984 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.559e-05/0.9152, allocations: 7.984 kB / 1.379 GB, free: 2.977 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 815 * Number of variables: 815 Notification: Performance of Generate backend data structure: time 0.007856/0.9231, allocations: 4.736 MB / 1.384 GB, free: 15.68 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.9231, allocations: 7.406 kB / 1.384 GB, free: 15.68 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005458/0.9237, allocations: 451.8 kB / 1.385 GB, free: 15.35 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/0.9356, allocations: 2.794 MB / 1.387 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003328/0.9389, allocations: 2.334 MB / 1.39 GB, free: 12.35 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.9391, allocations: 245.2 kB / 1.39 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004163/0.9395, allocations: 306.6 kB / 1.39 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009106/0.9487, allocations: 5.155 MB / 1.395 GB, free: 9.176 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.422e-05/0.9487, allocations: 2.438 kB / 1.395 GB, free: 9.176 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003352/0.9491, allocations: 139.3 kB / 1.395 GB, free: 9.066 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.815e-05/0.9491, allocations: 81.97 kB / 1.395 GB, free: 9.062 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01353/0.9626, allocations: 6.293 MB / 1.401 GB, free: 3.441 MB / 1.061 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.02205/0.9847, allocations: 14.81 MB / 1.416 GB, free: 4.004 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01008/0.9948, allocations: 4.704 MB / 1.421 GB, free: 15.29 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005024/0.9998, allocations: 2.441 MB / 1.423 GB, free: 12.84 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008845/1.001, allocations: 0.6734 MB / 1.424 GB, free: 12.04 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005281/1.006, allocations: 2.623 MB / 1.426 GB, free: 9.379 MB / 1.092 GB Notification: Performance of pre-optimization done (n=278): time 3.827e-06/1.006, allocations: 0 / 1.426 GB, free: 9.379 MB / 1.092 GB Notification: Performance of matching and sorting (n=278): time 0.01677/1.023, allocations: 7.409 MB / 1.433 GB, free: 1.852 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/1.023, allocations: 218.1 kB / 1.434 GB, free: 1.594 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002858/1.026, allocations: 2.422 MB / 1.436 GB, free: 15.14 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002057/1.026, allocations: 85.69 kB / 1.436 GB, free: 15.05 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001141/1.027, allocations: 1.383 MB / 1.437 GB, free: 13.66 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008256/1.028, allocations: 0.949 MB / 1.438 GB, free: 12.7 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008811/1.029, allocations: 492.8 kB / 1.439 GB, free: 12.21 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.029, allocations: 309.1 kB / 1.439 GB, free: 11.91 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004574/1.034, allocations: 2.007 MB / 1.441 GB, free: 9.895 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004826/1.038, allocations: 2.339 MB / 1.443 GB, free: 7.469 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00941/1.048, allocations: 4.252 MB / 1.447 GB, free: 3.129 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/1.048, allocations: 0 / 1.447 GB, free: 3.129 MB / 1.107 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.01137/1.059, allocations: 4.962 MB / 1.452 GB, free: 14.12 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.059, allocations: 8 kB / 1.452 GB, free: 14.11 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/1.059, allocations: 4 kB / 1.452 GB, free: 14.11 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006017/1.06, allocations: 232.9 kB / 1.453 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003627/1.064, allocations: 0.7956 MB / 1.453 GB, free: 13.08 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004193/1.068, allocations: 3.376 MB / 1.457 GB, free: 9.566 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003293/1.071, allocations: 0.5663 MB / 1.457 GB, free: 9 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002522/1.071, allocations: 107.9 kB / 1.457 GB, free: 8.895 MB / 1.123 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 (292): * Single equations (assignments): 291 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001698/1.073, allocations: 0.9555 MB / 1.458 GB, free: 7.93 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005412/1.074, allocations: 290.1 kB / 1.458 GB, free: 7.645 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/1.086, allocations: 5.616 MB / 1.464 GB, free: 1.965 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/1.086, allocations: 28 kB / 1.464 GB, free: 1.938 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.086, allocations: 11.98 kB / 1.464 GB, free: 1.926 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.561e-05/1.086, allocations: 11.95 kB / 1.464 GB, free: 1.914 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004545/1.091, allocations: 3.684 MB / 1.468 GB, free: 14.17 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/1.091, allocations: 7.984 kB / 1.468 GB, free: 14.16 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003472/1.094, allocations: 0.7411 MB / 1.468 GB, free: 13.42 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007317/1.095, allocations: 262.3 kB / 1.469 GB, free: 13.15 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002297/1.095, allocations: 87.8 kB / 1.469 GB, free: 13.07 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005057/1.1, allocations: 5.239 MB / 1.474 GB, free: 7.531 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.1, allocations: 0 / 1.474 GB, free: 7.531 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01657/1.117, allocations: 8.039 MB / 1.482 GB, free: 15.4 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/1.118, allocations: 0.8498 MB / 1.482 GB, free: 14.53 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004254/1.119, allocations: 63.94 kB / 1.483 GB, free: 14.47 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002855/1.122, allocations: 419.4 kB / 1.483 GB, free: 14.06 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004148/1.122, allocations: 202 kB / 1.483 GB, free: 13.86 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002585/1.122, allocations: 107.9 kB / 1.483 GB, free: 13.75 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002302/1.125, allocations: 1.777 MB / 1.485 GB, free: 11.96 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.2e-07/1.125, allocations: 0 / 1.485 GB, free: 11.96 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002344/1.127, allocations: 1.072 MB / 1.486 GB, free: 10.89 MB / 1.154 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: 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 (276): * Single equations (assignments): 262 * 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 {(2,16,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.01986/1.147, allocations: 9.559 MB / 1.495 GB, free: 1.578 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01049/1.157, allocations: 4.87 MB / 1.5 GB, free: 12.66 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/1.157, allocations: 4 kB / 1.5 GB, free: 12.66 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.005584/1.163, allocations: 2.781 MB / 1.503 GB, free: 9.844 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/1.166, allocations: 0.6992 MB / 1.503 GB, free: 9.18 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05014/1.216, allocations: 29.2 MB / 1.532 GB, free: 11.62 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002166/1.218, allocations: 2.452 MB / 1.534 GB, free: 9.137 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.003241/1.221, allocations: 1.142 MB / 1.536 GB, free: 7.996 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00226/1.223, allocations: 1.432 MB / 1.537 GB, free: 6.562 MB / 1.201 GB Notification: Performance of SimCode: time 2.324e-06/1.223, allocations: 0 / 1.537 GB, free: 6.562 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 11.12/12.34, allocations: 71.53 MB / 1.607 GB, free: 15.46 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.03/41.37, allocations: 4 kB / 1.607 GB, free: 15.46 MB / 1.279 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)