Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",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.001086/0.001086, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.001048/0.001048, allocations: 192.8 kB / 16.25 MB, free: 6.629 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.285/1.285, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.436/2.436, allocations: 437 MB / 0.7101 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.88 kB / 0.8689 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5246/0.5259, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1404/0.6663, allocations: 154.6 MB / 1.168 GB, free: 7.547 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02057/0.6869, allocations: 21.5 MB / 1.189 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.6882, allocations: 43.75 kB / 1.189 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.6897, allocations: 1.13 MB / 1.19 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001248/0.6909, allocations: 0.8256 MB / 1.191 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009321/0.6919, allocations: 379.2 kB / 1.191 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00126/0.6932, allocations: 1.255 MB / 1.192 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007799/0.6939, allocations: 0.693 MB / 1.193 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000578/0.6945, allocations: 0.549 MB / 1.194 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008293/0.6954, allocations: 0.9566 MB / 1.195 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.002e-05/0.6955, allocations: 64 kB / 1.195 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.6957, allocations: 116 kB / 1.195 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002395/0.6959, allocations: 332.8 kB / 1.195 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003456/0.6963, allocations: 492.8 kB / 1.196 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000901/0.6972, allocations: 1.176 MB / 1.197 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6972, allocations: 7.984 kB / 1.197 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6972, allocations: 0 / 1.197 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.6972, allocations: 0 / 1.197 GB, free: 9.969 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.001893/0.6991, allocations: 1.486 MB / 1.198 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.6992, allocations: 8.031 kB / 1.198 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.36e-05/0.6992, allocations: 86.7 kB / 1.198 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.6994, allocations: 131.3 kB / 1.198 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006789/0.7001, allocations: 0.6509 MB / 1.199 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.7002, allocations: 70.69 kB / 1.199 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.081e-05/0.7003, allocations: 47.98 kB / 1.199 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008352/0.7011, allocations: 0.5223 MB / 1.2 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.7011, allocations: 0 / 1.2 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.195e-05/0.7012, allocations: 20 kB / 1.2 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.7012, allocations: 12 kB / 1.2 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007356/0.7019, allocations: 407.7 kB / 1.2 GB, free: 6.406 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.003029/0.705, allocations: 2.811 MB / 1.203 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009095/0.7059, allocations: 463.7 kB / 1.203 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004983/0.7064, allocations: 280.1 kB / 1.204 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/0.7064, allocations: 4.656 kB / 1.204 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005022/0.707, allocations: 309.7 kB / 1.204 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 1.774e-06/0.707, allocations: 0 / 1.204 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.002655/0.7096, allocations: 1.241 MB / 1.205 GB, free: 1 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.7097, allocations: 63.33 kB / 1.205 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.7112, allocations: 1.752 MB / 1.207 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.7113, allocations: 37.7 kB / 1.207 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.7116, allocations: 0.5178 MB / 1.207 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.7117, allocations: 149.9 kB / 1.207 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.7119, allocations: 94.25 kB / 1.208 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.712, allocations: 330 kB / 1.208 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/0.7124, allocations: 221 kB / 1.208 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004839/0.7129, allocations: 324.9 kB / 1.208 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008136/0.7137, allocations: 0.5099 MB / 1.209 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.7138, allocations: 3.938 kB / 1.209 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001421/0.7152, allocations: 0.8426 MB / 1.21 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.7152, allocations: 12.22 kB / 1.21 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.7152, allocations: 4 kB / 1.21 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000449/0.7157, allocations: 191 kB / 1.21 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.716, allocations: 91.88 kB / 1.21 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/0.7191, allocations: 2.998 MB / 1.213 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003755/0.7195, allocations: 83.55 kB / 1.213 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.7195, allocations: 16 kB / 1.213 GB, free: 8.531 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003868/0.7199, allocations: 395.2 kB / 1.213 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.7201, allocations: 118.5 kB / 1.214 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.7202, allocations: 139.7 kB / 1.214 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.7203, allocations: 4 kB / 1.214 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.7203, allocations: 4 kB / 1.214 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.7203, allocations: 3.938 kB / 1.214 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/0.7224, allocations: 1.571 MB / 1.215 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7224, allocations: 0 / 1.215 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.7227, allocations: 47.95 kB / 1.215 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004279/0.7231, allocations: 193.6 kB / 1.215 GB, free: 6 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.7231, allocations: 12 kB / 1.215 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003863/0.727, allocations: 4.552 MB / 1.22 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.727, allocations: 0 / 1.22 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.7286, allocations: 1.061 MB / 1.221 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.7289, allocations: 211.6 kB / 1.221 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.529e-05/0.729, allocations: 15.98 kB / 1.221 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/0.7293, allocations: 39.97 kB / 1.221 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.7294, allocations: 55.86 kB / 1.221 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.7295, allocations: 15.98 kB / 1.221 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001153/0.7306, allocations: 1.273 MB / 1.222 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7306, allocations: 4 kB / 1.222 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006496/0.7313, allocations: 215.6 kB / 1.223 GB, free: 14.23 MB / 0.9825 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,13,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.002782/0.7341, allocations: 1.996 MB / 1.225 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001386/0.7355, allocations: 0.7577 MB / 1.225 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7355, allocations: 0 / 1.225 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007764/0.7363, allocations: 0.552 MB / 1.226 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008764/0.7371, allocations: 196.1 kB / 1.226 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.7483, allocations: 9.405 MB / 1.235 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006696/0.749, allocations: 1.153 MB / 1.236 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002351/0.7492, allocations: 92.78 kB / 1.237 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004016/0.7496, allocations: 403.3 kB / 1.237 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.7496, allocations: 3.938 kB / 1.237 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.217/1.966, allocations: 20.55 MB / 1.257 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/1.967, allocations: 279.2 kB / 1.257 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.23/4.197, allocations: 0.9062 kB / 1.257 GB, free: 233.1 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)