Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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.004893/0.004893, allocations: 99.42 kB / 15.73 MB, free: 6.043 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.00139/0.00139, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.626/2.626, allocations: 437.1 MB / 0.7106 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 63.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2485, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.6134/0.862, allocations: 156.7 MB / 1.319 GB, free: 11.36 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02489/0.8869, allocations: 21.75 MB / 1.34 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.8887, allocations: 50.81 kB / 1.341 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.89, allocations: 1.165 MB / 1.342 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.8912, allocations: 0.8487 MB / 1.343 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009878/0.8922, allocations: 454.3 kB / 1.343 GB, free: 10.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001143/0.8934, allocations: 1.254 MB / 1.344 GB, free: 10.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007045/0.8941, allocations: 0.6826 MB / 1.345 GB, free: 9.918 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005817/0.8947, allocations: 0.5519 MB / 1.345 GB, free: 9.727 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008912/0.8956, allocations: 0.9162 MB / 1.346 GB, free: 9.504 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.813e-05/0.8957, allocations: 65.16 kB / 1.346 GB, free: 9.504 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.8959, allocations: 108.9 kB / 1.346 GB, free: 9.492 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002401/0.8962, allocations: 313.4 kB / 1.347 GB, free: 9.355 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004084/0.8966, allocations: 0.4886 MB / 1.347 GB, free: 9.016 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.8977, allocations: 1.205 MB / 1.348 GB, free: 8.527 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.8977, allocations: 1.25 kB / 1.348 GB, free: 8.527 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.82e-07/0.8977, allocations: 0 / 1.348 GB, free: 8.527 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.8977, allocations: 0 / 1.348 GB, free: 8.527 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002098/0.8998, allocations: 1.528 MB / 1.35 GB, free: 7.461 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.8999, allocations: 9.188 kB / 1.35 GB, free: 7.461 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.649e-05/0.9, allocations: 88.89 kB / 1.35 GB, free: 7.391 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.9002, allocations: 139.7 kB / 1.35 GB, free: 7.316 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007726/0.9009, allocations: 0.6795 MB / 1.351 GB, free: 6.812 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.9011, allocations: 69.47 kB / 1.351 GB, free: 6.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-05/0.9011, allocations: 49.73 kB / 1.351 GB, free: 6.754 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008869/0.902, allocations: 0.5181 MB / 1.351 GB, free: 6.527 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.9021, allocations: 0 / 1.351 GB, free: 6.527 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.9021, allocations: 21.03 kB / 1.351 GB, free: 6.512 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.9021, allocations: 10.22 kB / 1.351 GB, free: 6.512 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000765/0.9029, allocations: 416.9 kB / 1.352 GB, free: 6.383 MB / 1.029 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.00331/0.9062, allocations: 2.726 MB / 1.354 GB, free: 4.414 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008675/0.9071, allocations: 441.4 kB / 1.355 GB, free: 4.246 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005993/0.9077, allocations: 307 kB / 1.355 GB, free: 4.148 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.9077, allocations: 3.766 kB / 1.355 GB, free: 4.148 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004962/0.9083, allocations: 285 kB / 1.355 GB, free: 4.027 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 1.943e-06/0.9083, allocations: 0 / 1.355 GB, free: 4.027 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.002476/0.9107, allocations: 1.154 MB / 1.357 GB, free: 3.484 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.9108, allocations: 64.66 kB / 1.357 GB, free: 3.414 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.9125, allocations: 1.763 MB / 1.358 GB, free: 2.758 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/0.9126, allocations: 40.58 kB / 1.358 GB, free: 2.715 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004426/0.913, allocations: 0.5321 MB / 1.359 GB, free: 2.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.9132, allocations: 154.8 kB / 1.359 GB, free: 2.117 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.9133, allocations: 99.19 kB / 1.359 GB, free: 2.055 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.9135, allocations: 327.5 kB / 1.359 GB, free: 1.734 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004577/0.914, allocations: 210 kB / 1.36 GB, free: 1.637 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005369/0.9145, allocations: 336.8 kB / 1.36 GB, free: 1.387 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008633/0.9154, allocations: 0.5151 MB / 1.361 GB, free: 1.039 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.9154, allocations: 5.344 kB / 1.361 GB, free: 1.035 MB / 1.029 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001452/0.9168, allocations: 0.8151 MB / 1.361 GB, free: 0.6016 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.9169, allocations: 6.625 kB / 1.361 GB, free: 0.6016 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.9169, allocations: 4.312 kB / 1.361 GB, free: 0.6016 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003702/0.9172, allocations: 134.5 kB / 1.361 GB, free: 0.5391 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.9176, allocations: 102.9 kB / 1.362 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/0.9203, allocations: 2.615 MB / 1.364 GB, free: 14.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003943/0.9207, allocations: 75.03 kB / 1.364 GB, free: 14.22 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.9207, allocations: 22.73 kB / 1.364 GB, free: 14.21 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004092/0.9212, allocations: 384.9 kB / 1.365 GB, free: 13.98 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.9213, allocations: 128.6 kB / 1.365 GB, free: 13.9 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.9215, allocations: 136.7 kB / 1.365 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.9215, allocations: 9.094 kB / 1.365 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.9216, allocations: 2.594 kB / 1.365 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.9216, allocations: 3.984 kB / 1.365 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.9237, allocations: 1.488 MB / 1.366 GB, free: 12.82 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.9237, allocations: 0 / 1.366 GB, free: 12.82 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.924, allocations: 48.91 kB / 1.366 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003449/0.9243, allocations: 157.5 kB / 1.366 GB, free: 12.73 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.9244, allocations: 16.11 kB / 1.367 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003479/0.9278, allocations: 4.037 MB / 1.37 GB, free: 9.004 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9279, allocations: 0 / 1.37 GB, free: 9.004 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.9294, allocations: 0.9949 MB / 1.371 GB, free: 8.406 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002394/0.9297, allocations: 216.9 kB / 1.372 GB, free: 8.215 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-05/0.9297, allocations: 10.38 kB / 1.372 GB, free: 8.207 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.93, allocations: 30.53 kB / 1.372 GB, free: 8.191 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.9302, allocations: 50.98 kB / 1.372 GB, free: 8.164 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.9302, allocations: 22.33 kB / 1.372 GB, free: 8.152 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001178/0.9314, allocations: 1.287 MB / 1.373 GB, free: 7.559 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9314, allocations: 0 / 1.373 GB, free: 7.559 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006108/0.932, allocations: 203 kB / 1.373 GB, free: 7.512 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003253/0.9353, allocations: 1.906 MB / 1.375 GB, free: 6.262 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001186/0.9365, allocations: 0.6762 MB / 1.376 GB, free: 5.871 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.9365, allocations: 0 / 1.376 GB, free: 5.871 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007365/0.9372, allocations: 0.5242 MB / 1.376 GB, free: 5.48 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009111/0.9381, allocations: 213.7 kB / 1.376 GB, free: 5.359 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.9483, allocations: 8.547 MB / 1.385 GB, free: 484 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007124/0.949, allocations: 1.145 MB / 1.386 GB, free: 15.57 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002601/0.9493, allocations: 93.69 kB / 1.386 GB, free: 15.53 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004514/0.9498, allocations: 410.5 kB / 1.386 GB, free: 15.16 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.9498, allocations: 0 / 1.386 GB, free: 15.16 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.839/3.788, allocations: 20.86 MB / 1.407 GB, free: 13.56 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/17.06, allocations: 15.73 kB / 1.407 GB, free: 13.55 MB / 1.076 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)