Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.TestCase3,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.001793/0.001793, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002006/0.002006, allocations: 195.1 kB / 16.14 MB, free: 6.648 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.257/1.257, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.341/2.341, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 67.89 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5934/0.5949, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1511/0.7461, allocations: 154.5 MB / 1.168 GB, free: 7.746 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02396/0.7701, allocations: 21.61 MB / 1.189 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.772, allocations: 51.69 kB / 1.189 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002308/0.7744, allocations: 1.122 MB / 1.19 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.7763, allocations: 0.8138 MB / 1.191 GB, free: 76 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.7777, allocations: 375.1 kB / 1.191 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001762/0.7795, allocations: 1.345 MB / 1.192 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.7806, allocations: 0.6181 MB / 1.193 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.7817, allocations: 0.4943 MB / 1.193 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.7829, allocations: 0.9098 MB / 1.194 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001977/0.7831, allocations: 36 kB / 1.194 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003429/0.7835, allocations: 71.98 kB / 1.194 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003593/0.7839, allocations: 312.7 kB / 1.195 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005651/0.7844, allocations: 464.8 kB / 1.195 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.7857, allocations: 1.152 MB / 1.196 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.7857, allocations: 4 kB / 1.196 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7857, allocations: 0 / 1.196 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.892e-05/0.7858, allocations: 0 / 1.196 GB, free: 10.31 MB / 0.9512 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.002871/0.7887, allocations: 1.478 MB / 1.198 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.7887, allocations: 8.031 kB / 1.198 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001395/0.7888, allocations: 90.66 kB / 1.198 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002263/0.7891, allocations: 135.3 kB / 1.198 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.7901, allocations: 0.6509 MB / 1.199 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.7903, allocations: 78.62 kB / 1.199 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.95e-05/0.7904, allocations: 44 kB / 1.199 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.7914, allocations: 0.5223 MB / 1.199 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.7915, allocations: 0 / 1.199 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.854e-05/0.7915, allocations: 20 kB / 1.199 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.7915, allocations: 12 kB / 1.199 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008747/0.7924, allocations: 415.7 kB / 1.2 GB, free: 6.734 MB / 0.9512 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.003716/0.7961, allocations: 2.739 MB / 1.202 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000988/0.7971, allocations: 444.5 kB / 1.203 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006284/0.7978, allocations: 311.1 kB / 1.203 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.7978, allocations: 8.656 kB / 1.203 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005343/0.7984, allocations: 287 kB / 1.203 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=44): time 2.084e-06/0.7984, allocations: 0 / 1.203 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44): time 0.002616/0.801, allocations: 1.145 MB / 1.204 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.8011, allocations: 67.33 kB / 1.204 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001815/0.8029, allocations: 1.752 MB / 1.206 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.8029, allocations: 41.7 kB / 1.206 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004069/0.8033, allocations: 0.5288 MB / 1.207 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.8035, allocations: 146 kB / 1.207 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.8036, allocations: 98.25 kB / 1.207 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.8037, allocations: 326 kB / 1.207 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004632/0.8042, allocations: 217 kB / 1.207 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005109/0.8047, allocations: 335.2 kB / 1.208 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008625/0.8056, allocations: 0.5155 MB / 1.208 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.8056, allocations: 4 kB / 1.208 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001513/0.8071, allocations: 0.805 MB / 1.209 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.8072, allocations: 8 kB / 1.209 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.8072, allocations: 4 kB / 1.209 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004054/0.8076, allocations: 142.6 kB / 1.209 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.808, allocations: 103.8 kB / 1.209 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/0.8106, allocations: 2.382 MB / 1.212 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000459/0.8111, allocations: 75.48 kB / 1.212 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.8111, allocations: 24.06 kB / 1.212 GB, free: 9.688 MB / 0.9669 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.0004319/0.8116, allocations: 383.4 kB / 1.212 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.8117, allocations: 118.5 kB / 1.212 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.8119, allocations: 135.7 kB / 1.212 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.8119, allocations: 7.938 kB / 1.212 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.812, allocations: 7.984 kB / 1.212 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.812, allocations: 3.938 kB / 1.212 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00223/0.8142, allocations: 1.503 MB / 1.214 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.8142, allocations: 0 / 1.214 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.8144, allocations: 51.83 kB / 1.214 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003819/0.8148, allocations: 161.6 kB / 1.214 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/0.8149, allocations: 15.98 kB / 1.214 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003367/0.8183, allocations: 3.698 MB / 1.218 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8183, allocations: 0 / 1.218 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.82, allocations: 0.9871 MB / 1.219 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002882/0.8203, allocations: 207.6 kB / 1.219 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.8204, allocations: 11.94 kB / 1.219 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/0.8207, allocations: 47.8 kB / 1.219 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.8209, allocations: 51.92 kB / 1.219 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.821, allocations: 8 kB / 1.219 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001359/0.8223, allocations: 1.293 MB / 1.22 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8223, allocations: 0 / 1.22 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007592/0.8231, allocations: 203.7 kB / 1.22 GB, free: 440 kB / 0.9669 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.002963/0.8261, allocations: 1.897 MB / 1.222 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00137/0.8275, allocations: 0.6801 MB / 1.223 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8275, allocations: 192 / 1.223 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008085/0.8283, allocations: 0.5205 MB / 1.223 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.8294, allocations: 187 kB / 1.224 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.8433, allocations: 9.333 MB / 1.233 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007874/0.8442, allocations: 1.153 MB / 1.234 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003353/0.8445, allocations: 96.77 kB / 1.234 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004484/0.845, allocations: 403.3 kB / 1.234 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of SimCode: time 4.3e-07/0.845, allocations: 0 / 1.234 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4625/1.307, allocations: 19.73 MB / 1.254 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/1.308, allocations: 282.9 kB / 1.254 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/3.499, allocations: 0 / 1.254 GB, free: 229.2 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)