Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.TestCase3,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="BuildingSystems_BuildingSystems_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.004772/0.004772, allocations: 100.3 kB / 15.73 MB, free: 5.977 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.001135/0.001135, allocations: 197.3 kB / 16.67 MB, free: 5.914 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002076/0.002076, allocations: 286.8 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9334/0.9334, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 100.3 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1554, allocations: 86.97 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.4706/0.6261, allocations: 156.7 MB / 0.9189 GB, free: 6.426 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02502/0.6511, allocations: 21.76 MB / 0.9402 GB, free: 0.5859 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/0.6532, allocations: 55.69 kB / 0.9402 GB, free: 0.5312 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.6549, allocations: 1.157 MB / 0.9414 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.6567, allocations: 0.8522 MB / 0.9422 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.6581, allocations: 450.5 kB / 0.9426 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001606/0.6598, allocations: 1.255 MB / 0.9439 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.6608, allocations: 0.6838 MB / 0.9445 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009078/0.6617, allocations: 0.5491 MB / 0.9451 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.6629, allocations: 0.9177 MB / 0.946 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.6631, allocations: 64 kB / 0.946 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002885/0.6634, allocations: 108 kB / 0.9461 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002767/0.6637, allocations: 328.6 kB / 0.9464 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0004921/0.6642, allocations: 496.8 kB / 0.9469 GB, free: 9.703 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.6654, allocations: 1.195 MB / 0.9481 GB, free: 8.504 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.6654, allocations: 4 kB / 0.9481 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6654, allocations: 0 / 0.9481 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.68e-05/0.6654, allocations: 0 / 0.9481 GB, free: 8.5 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.002544/0.668, allocations: 1.479 MB / 0.9495 GB, free: 6.965 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.668, allocations: 15.97 kB / 0.9495 GB, free: 6.949 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.6681, allocations: 82.7 kB / 0.9496 GB, free: 6.859 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.6683, allocations: 135.2 kB / 0.9497 GB, free: 6.727 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008424/0.6692, allocations: 0.6628 MB / 0.9504 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.6693, allocations: 74.67 kB / 0.9505 GB, free: 5.934 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.45e-05/0.6694, allocations: 48 kB / 0.9505 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009044/0.6703, allocations: 0.5184 MB / 0.951 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.6703, allocations: 3.906 kB / 0.951 GB, free: 5.355 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.6704, allocations: 16 kB / 0.951 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.6704, allocations: 19.94 kB / 0.951 GB, free: 5.32 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007894/0.6712, allocations: 419.7 kB / 0.9514 GB, free: 4.906 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.003419/0.6746, allocations: 2.716 MB / 0.9541 GB, free: 1.953 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009136/0.6756, allocations: 446.6 kB / 0.9545 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006113/0.6762, allocations: 308.6 kB / 0.9548 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.6762, allocations: 4.328 kB / 0.9548 GB, free: 1.207 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005211/0.6768, allocations: 275.8 kB / 0.9551 GB, free: 0.9258 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=44): time 2.094e-06/0.6768, allocations: 0 / 0.9551 GB, free: 0.9258 MB / 0.7012 GB Notification: Performance of matching and sorting (n=44): time 0.00255/0.6793, allocations: 1.148 MB / 0.9562 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.6794, allocations: 55.41 kB / 0.9563 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.6812, allocations: 1.764 MB / 0.958 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.6813, allocations: 37.7 kB / 0.958 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000418/0.6817, allocations: 0.5327 MB / 0.9585 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.6818, allocations: 138.1 kB / 0.9587 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.682, allocations: 106.1 kB / 0.9588 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.6821, allocations: 326 kB / 0.9591 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004372/0.6825, allocations: 213 kB / 0.9593 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005002/0.683, allocations: 339.1 kB / 0.9596 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008277/0.6839, allocations: 0.5088 MB / 0.9601 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.6839, allocations: 3.938 kB / 0.9601 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001458/0.6854, allocations: 0.8206 MB / 0.9609 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.6854, allocations: 8 kB / 0.9609 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.6854, allocations: 4 kB / 0.9609 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004135/0.6858, allocations: 128.7 kB / 0.961 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.6862, allocations: 104 kB / 0.9611 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/0.689, allocations: 2.604 MB / 0.9637 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004324/0.6895, allocations: 79.45 kB / 0.9638 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.6895, allocations: 20 kB / 0.9638 GB, free: 7.68 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.0004984/0.69, allocations: 395.2 kB / 0.9642 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.6902, allocations: 118.4 kB / 0.9643 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.6904, allocations: 139.7 kB / 0.9644 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.6904, allocations: 11.94 kB / 0.9644 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.6904, allocations: 4 kB / 0.9644 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.6904, allocations: 0 / 0.9644 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/0.6926, allocations: 1.491 MB / 0.9659 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.6926, allocations: 3.938 kB / 0.9659 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.6929, allocations: 43.95 kB / 0.9659 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003689/0.6932, allocations: 165.5 kB / 0.9661 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.6933, allocations: 12 kB / 0.9661 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003506/0.6968, allocations: 4.025 MB / 0.97 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6968, allocations: 0 / 0.97 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.6984, allocations: 0.9854 MB / 0.971 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00027/0.6987, allocations: 219.5 kB / 0.9712 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.6988, allocations: 8 kB / 0.9712 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.6991, allocations: 31.97 kB / 0.9712 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.6993, allocations: 55.92 kB / 0.9713 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.6993, allocations: 23.86 kB / 0.9713 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001316/0.7007, allocations: 1.289 MB / 0.9726 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7007, allocations: 0 / 0.9726 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006989/0.7014, allocations: 187.8 kB / 0.9727 GB, free: 14.1 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.002821/0.7042, allocations: 1.909 MB / 0.9746 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.7055, allocations: 0.6644 MB / 0.9753 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7055, allocations: 0 / 0.9753 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007696/0.7063, allocations: 0.5288 MB / 0.9758 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009348/0.7072, allocations: 205.5 kB / 0.976 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.7187, allocations: 8.495 MB / 0.9843 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007939/0.7195, allocations: 1.149 MB / 0.9854 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003109/0.7198, allocations: 96.72 kB / 0.9855 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004216/0.7203, allocations: 403.3 kB / 0.9859 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/0.7203, allocations: 0 / 0.9859 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04996/0.7702, allocations: 21.21 MB / 1.007 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.54, allocations: 19.61 kB / 1.007 GB, free: 11.65 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)