Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="BuildingSystems_BuildingSystems_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.005612/0.005612, allocations: 95.44 kB / 15.73 MB, free: 6.051 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.001274/0.001274, allocations: 199.4 kB / 16.68 MB, free: 5.973 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002428/0.002428, allocations: 278.6 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.025/1.025, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002753/0.002753, allocations: 96.72 kB / 0.681 GB, free: 20 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1664, allocations: 86.97 MB / 0.7659 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.4749/0.6413, allocations: 156.7 MB / 0.9189 GB, free: 6.473 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02455/0.6659, allocations: 21.76 MB / 0.9402 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.6673, allocations: 59.69 kB / 0.9402 GB, free: 0.5781 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.6689, allocations: 1.153 MB / 0.9414 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.6702, allocations: 0.8562 MB / 0.9422 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009629/0.6712, allocations: 439.5 kB / 0.9426 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001215/0.6724, allocations: 1.268 MB / 0.9439 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007549/0.6732, allocations: 0.6755 MB / 0.9445 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006006/0.6738, allocations: 0.5491 MB / 0.9451 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.6748, allocations: 0.9177 MB / 0.946 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 9.746e-05/0.675, allocations: 64 kB / 0.946 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.6752, allocations: 108 kB / 0.9461 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.6754, allocations: 316.7 kB / 0.9464 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0004112/0.6759, allocations: 488.8 kB / 0.9469 GB, free: 9.781 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.6771, allocations: 1.215 MB / 0.9481 GB, free: 8.566 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.6771, allocations: 0 / 0.9481 GB, free: 8.566 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6771, allocations: 0 / 0.9481 GB, free: 8.566 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.6771, allocations: 0 / 0.9481 GB, free: 8.566 MB / 0.7012 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.002208/0.6793, allocations: 1.536 MB / 0.9496 GB, free: 6.973 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.6794, allocations: 12.03 kB / 0.9496 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.6795, allocations: 78.72 kB / 0.9497 GB, free: 6.875 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.6797, allocations: 140 kB / 0.9498 GB, free: 6.738 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008445/0.6805, allocations: 0.6756 MB / 0.9505 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.6806, allocations: 70.69 kB / 0.9505 GB, free: 5.938 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-05/0.6807, allocations: 48 kB / 0.9506 GB, free: 5.891 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009109/0.6816, allocations: 0.5184 MB / 0.9511 GB, free: 5.363 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.6817, allocations: 3.938 kB / 0.9511 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/0.6817, allocations: 19.98 kB / 0.9511 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.6817, allocations: 12 kB / 0.9511 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008296/0.6826, allocations: 419.7 kB / 0.9515 GB, free: 4.914 MB / 0.7012 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.003501/0.6861, allocations: 2.728 MB / 0.9542 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009241/0.687, allocations: 440.5 kB / 0.9546 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006403/0.6877, allocations: 308.8 kB / 0.9549 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.6877, allocations: 8.266 kB / 0.9549 GB, free: 1.203 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005321/0.6883, allocations: 279.8 kB / 0.9552 GB, free: 0.918 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=44): time 1.973e-06/0.6883, allocations: 192 / 0.9552 GB, free: 0.918 MB / 0.7012 GB Notification: Performance of matching and sorting (n=44): time 0.002588/0.6909, allocations: 1.156 MB / 0.9563 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.6909, allocations: 59.39 kB / 0.9563 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.6928, allocations: 1.764 MB / 0.9581 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/0.6929, allocations: 37.7 kB / 0.9581 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000465/0.6933, allocations: 0.5293 MB / 0.9586 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.6935, allocations: 154.7 kB / 0.9588 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.6936, allocations: 94.25 kB / 0.9589 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.6938, allocations: 334 kB / 0.9592 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004741/0.6943, allocations: 209 kB / 0.9594 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005585/0.6948, allocations: 339.1 kB / 0.9597 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009108/0.6958, allocations: 0.5086 MB / 0.9602 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.6958, allocations: 3.938 kB / 0.9602 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001541/0.6973, allocations: 0.8269 MB / 0.961 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.6973, allocations: 4.219 kB / 0.961 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.6974, allocations: 8 kB / 0.961 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003856/0.6978, allocations: 133.5 kB / 0.9611 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/0.6981, allocations: 95.88 kB / 0.9612 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/0.7011, allocations: 2.607 MB / 0.9638 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004101/0.7015, allocations: 83.59 kB / 0.9639 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.7016, allocations: 23.98 kB / 0.9639 GB, free: 7.645 MB / 0.7169 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.0004525/0.702, allocations: 391.2 kB / 0.9643 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.7022, allocations: 127.1 kB / 0.9644 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.7024, allocations: 139.7 kB / 0.9645 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.7024, allocations: 4 kB / 0.9645 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.7024, allocations: 4 kB / 0.9645 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.7024, allocations: 3.984 kB / 0.9645 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.7047, allocations: 1.498 MB / 0.966 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.7048, allocations: 4 kB / 0.966 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.705, allocations: 39.97 kB / 0.966 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003957/0.7054, allocations: 167.3 kB / 0.9662 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.7054, allocations: 15.98 kB / 0.9662 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003861/0.7093, allocations: 4.023 MB / 0.9701 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7093, allocations: 0 / 0.9701 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.711, allocations: 1.001 MB / 0.9711 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/0.7113, allocations: 212.3 kB / 0.9713 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-05/0.7114, allocations: 8 kB / 0.9713 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.7117, allocations: 31.97 kB / 0.9714 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.7118, allocations: 59.86 kB / 0.9714 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/0.7119, allocations: 19.92 kB / 0.9714 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00139/0.7133, allocations: 1.285 MB / 0.9727 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7133, allocations: 0 / 0.9727 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007821/0.7141, allocations: 207.7 kB / 0.9729 GB, free: 14.04 MB / 0.7325 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.00358/0.7177, allocations: 1.905 MB / 0.9747 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001301/0.719, allocations: 0.6667 MB / 0.9754 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.719, allocations: 7.938 kB / 0.9754 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008149/0.7198, allocations: 0.5205 MB / 0.9759 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009595/0.7208, allocations: 208.7 kB / 0.9761 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.7325, allocations: 8.54 MB / 0.9844 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008229/0.7333, allocations: 1.146 MB / 0.9856 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002689/0.7336, allocations: 104.8 kB / 0.9857 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004631/0.7341, allocations: 407.3 kB / 0.9861 GB, free: 428 kB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.7341, allocations: 0 / 0.9861 GB, free: 428 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.267/3.001, allocations: 20.87 MB / 1.006 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/17.7, allocations: 11.42 kB / 1.006 GB, free: 11.89 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)